mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-01 16:38:37 +00:00
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>
This commit is contained in:
parent
b73e421646
commit
e3b6526922
10
.drone.yml
10
.drone.yml
|
@ -15,12 +15,12 @@ trigger:
|
||||||
steps:
|
steps:
|
||||||
- name: deps-frontend
|
- name: deps-frontend
|
||||||
pull: always
|
pull: always
|
||||||
image: node:16
|
image: node:16.5
|
||||||
commands:
|
commands:
|
||||||
- make node_modules
|
- make node_modules
|
||||||
|
|
||||||
- name: lint-frontend
|
- name: lint-frontend
|
||||||
image: node:16
|
image: node:16.5
|
||||||
commands:
|
commands:
|
||||||
- make lint-frontend
|
- make lint-frontend
|
||||||
depends_on: [deps-frontend]
|
depends_on: [deps-frontend]
|
||||||
|
@ -58,7 +58,7 @@ steps:
|
||||||
TAGS: bindata gogit sqlite sqlite_unlock_notify
|
TAGS: bindata gogit sqlite sqlite_unlock_notify
|
||||||
|
|
||||||
- name: checks-frontend
|
- name: checks-frontend
|
||||||
image: node:16
|
image: node:16.5
|
||||||
commands:
|
commands:
|
||||||
- make checks-frontend
|
- make checks-frontend
|
||||||
depends_on: [deps-frontend]
|
depends_on: [deps-frontend]
|
||||||
|
@ -71,13 +71,13 @@ steps:
|
||||||
depends_on: [lint-backend]
|
depends_on: [lint-backend]
|
||||||
|
|
||||||
- name: test-frontend
|
- name: test-frontend
|
||||||
image: node:16
|
image: node:16.5
|
||||||
commands:
|
commands:
|
||||||
- make test-frontend
|
- make test-frontend
|
||||||
depends_on: [lint-frontend]
|
depends_on: [lint-frontend]
|
||||||
|
|
||||||
- name: build-frontend
|
- name: build-frontend
|
||||||
image: node:16
|
image: node:16.5
|
||||||
commands:
|
commands:
|
||||||
- make frontend
|
- make frontend
|
||||||
depends_on: [test-frontend]
|
depends_on: [test-frontend]
|
||||||
|
|
Loading…
Reference in a new issue