forked from gitea/gitea
1
0
Fork 0

[CI] Use node v14 instead of node v16 until it will pass again (#16595) (#16599)

* for CI release: use node 14 (lts) to build until 16 do fail

* all in for node v14.x
This commit is contained in:
6543 2021-08-02 08:41:58 +02:00 committed by GitHub
parent 903bdefb58
commit 763e4196ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 7 deletions

View File

@ -15,12 +15,12 @@ trigger:
steps: steps:
- name: deps-frontend - name: deps-frontend
pull: always pull: always
image: node:16 image: node:14
commands: commands:
- make node_modules - make node_modules
- name: lint-frontend - name: lint-frontend
image: node:16 image: node:14
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:14
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:14
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:14
commands: commands:
- make frontend - make frontend
depends_on: [test-frontend] depends_on: [test-frontend]
@ -503,7 +503,7 @@ steps:
pull: always pull: always
image: techknowlogick/xgo:go-1.16.x image: techknowlogick/xgo:go-1.16.x
commands: commands:
- curl -sL https://deb.nodesource.com/setup_16.x | bash - && apt-get install -y nodejs - curl -sL https://deb.nodesource.com/setup_14.x | bash - && apt-get install -y nodejs
- export PATH=$PATH:$GOPATH/bin - export PATH=$PATH:$GOPATH/bin
- make release - make release
environment: environment:
@ -599,7 +599,7 @@ steps:
pull: always pull: always
image: techknowlogick/xgo:go-1.16.x image: techknowlogick/xgo:go-1.16.x
commands: commands:
- curl -sL https://deb.nodesource.com/setup_16.x | bash - && apt-get install -y nodejs - curl -sL https://deb.nodesource.com/setup_14.x | bash - && apt-get install -y nodejs
- export PATH=$PATH:$GOPATH/bin - export PATH=$PATH:$GOPATH/bin
- make release - make release
environment: environment: