summaryrefslogtreecommitdiffstats
path: root/.drone.yml
diff options
context:
space:
mode:
authorzeripath <art27@cantab.net>2021-08-01 15:33:02 +0100
committerGitHub <noreply@github.com>2021-08-01 17:33:02 +0300
commite3b6526922367db57698025f4e11066f3ecff32c (patch)
treee8f84fb615826631e4f8a6f6b5c482598a83db8c /.drone.yml
parentb73e4216463632ead1b5bcf8b12ae50e0bcfe6c5 (diff)
downloadgitea-e3b6526922367db57698025f4e11066f3ecff32c.tar.gz
gitea-e3b6526922367db57698025f4e11066f3ecff32c.zip
Use node:16.5 for frontend instead of node:16 (#16591)
* Disable frontend testing Jest does not appear to work on the latest node 16.6.0 and fails with an inscrutable message. I have been unable to work out what the problem is. This PR simply disables the test-frontend part in the makefile. Another alternative would be to drop node to node 14 - which is the LTS for node. Signed-off-by: Andrew Thornton <art27@cantab.net> * actually just tell on 16.5 instead Signed-off-by: Andrew Thornton <art27@cantab.net> * Use node 16.5 instead of 16 Signed-off-by: Andrew Thornton <art27@cantab.net>
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml10
1 files changed, 5 insertions, 5 deletions
diff --git a/.drone.yml b/.drone.yml
index c12138989b..65b239fb6f 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -15,12 +15,12 @@ trigger:
steps:
- name: deps-frontend
pull: always
- image: node:16
+ image: node:16.5
commands:
- make node_modules
- name: lint-frontend
- image: node:16
+ image: node:16.5
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:16
+ image: node:16.5
commands:
- make checks-frontend
depends_on: [deps-frontend]
@@ -71,13 +71,13 @@ steps:
depends_on: [lint-backend]
- name: test-frontend
- image: node:16
+ image: node:16.5
commands:
- make test-frontend
depends_on: [lint-frontend]
- name: build-frontend
- image: node:16
+ image: node:16.5
commands:
- make frontend
depends_on: [test-frontend]