summaryrefslogtreecommitdiffstats
path: root/.drone.yml
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2023-04-20 04:36:41 +0200
committerGitHub <noreply@github.com>2023-04-19 22:36:41 -0400
commit92e07f270aa925d518b13686f78befb63da0a747 (patch)
treebb6202351494d52d7aecf8c67ee5c99888dc5703 /.drone.yml
parent938b59199480d1b3730388982eb87d592e976849 (diff)
downloadgitea-92e07f270aa925d518b13686f78befb63da0a747.tar.gz
gitea-92e07f270aa925d518b13686f78befb63da0a747.zip
Update JS dependencies (#24218)
- Update all js dependencies, update playwright image to jammy - Adjust eslint and vitest config - Tested build, monaco, mermaid, katex
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.drone.yml b/.drone.yml
index 5f1167d286..789f1ffca4 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -756,11 +756,11 @@ steps:
# TODO: We should probably build all dependencies into a test image
- name: test-e2e
- image: mcr.microsoft.com/playwright:v1.32.1-focal
+ image: mcr.microsoft.com/playwright:v1.32.3-focal
commands:
- - curl -sLO https://go.dev/dl/go1.20.linux-amd64.tar.gz && tar -C /usr/local -xzf go1.20.linux-amd64.tar.gz
+ - apt-get -qq update && apt-get -qqy install jq build-essential
+ - curl -fsSL "https://go.dev/dl/$(curl -s 'https://go.dev/dl/?mode=json' | jq -r '.[].version' | sort -Vr | head -1).linux-amd64.tar.gz" | tar -xz -C /usr/local
- groupadd --gid 1001 gitea && useradd -m --gid 1001 --uid 1001 gitea
- - apt-get -qq update && apt-get -qqy install build-essential
- ./build/test-env-prepare.sh
- su gitea bash -c "export PATH=$PATH:/usr/local/go/bin && timeout -s ABRT 40m make test-e2e-sqlite"
environment: