aboutsummaryrefslogtreecommitdiffstats
path: root/.drone.yml
diff options
context:
space:
mode:
authorzeripath <art27@cantab.net>2021-08-05 00:46:19 +0100
committerGitHub <noreply@github.com>2021-08-05 01:46:19 +0200
commit806aa870cb7408e8b5a2335f94e4233841777fd5 (patch)
treebca74801762c3599d0bb124038323cfacf8a5d6c /.drone.yml
parent19e2c6a302cc691ab0acbc464650bb57add41d0b (diff)
downloadgitea-806aa870cb7408e8b5a2335f94e4233841777fd5.tar.gz
gitea-806aa870cb7408e8b5a2335f94e4233841777fd5.zip
Switch back to node 16 (#16624)
Now that node 16.6.1 is out we can (if desired) switch back to node 16. This PR proposes changing drone to run node:16 Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: Lauris BH <lauris@nix.lv>
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml14
1 files changed, 7 insertions, 7 deletions
diff --git a/.drone.yml b/.drone.yml
index faef676083..a11f152d68 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -15,12 +15,12 @@ trigger:
steps:
- name: deps-frontend
pull: always
- image: node:14
+ image: node:16
commands:
- make node_modules
- name: lint-frontend
- image: node:14
+ image: node:16
commands:
- make lint-frontend
depends_on: [deps-frontend]
@@ -58,7 +58,7 @@ steps:
TAGS: bindata gogit sqlite sqlite_unlock_notify
- name: checks-frontend
- image: node:14
+ image: node:16
commands:
- make checks-frontend
depends_on: [deps-frontend]
@@ -71,13 +71,13 @@ steps:
depends_on: [lint-backend]
- name: test-frontend
- image: node:14
+ image: node:16
commands:
- make test-frontend
depends_on: [lint-frontend]
- name: build-frontend
- image: node:14
+ image: node:16
commands:
- make frontend
depends_on: [test-frontend]
@@ -514,7 +514,7 @@ steps:
pull: always
image: techknowlogick/xgo:go-1.16.x
commands:
- - curl -sL https://deb.nodesource.com/setup_14.x | bash - && apt-get install -y nodejs
+ - curl -sL https://deb.nodesource.com/setup_16.x | bash - && apt-get install -y nodejs
- export PATH=$PATH:$GOPATH/bin
- make release
environment:
@@ -610,7 +610,7 @@ steps:
pull: always
image: techknowlogick/xgo:go-1.16.x
commands:
- - curl -sL https://deb.nodesource.com/setup_14.x | bash - && apt-get install -y nodejs
+ - curl -sL https://deb.nodesource.com/setup_16.x | bash - && apt-get install -y nodejs
- export PATH=$PATH:$GOPATH/bin
- make release
environment: