1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-25 13:19:37 -05:00

Upgrade to Node 18 on CI (#20340)

* Upgrade to Node 18 on CI

Should be pretty stable now.

* restart ci

Co-authored-by: 6543 <6543@obermui.de>
This commit is contained in:
silverwind 2022-07-13 17:45:08 +02:00 committed by GitHub
parent 8420c1bf4c
commit 9cd1f38f70
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,7 +19,7 @@ volumes:
steps:
- name: deps-frontend
image: node:16
image: node:18
pull: always
commands:
- make deps-frontend
@ -34,7 +34,7 @@ steps:
path: /go
- name: lint-frontend
image: node:16
image: node:18
commands:
- make lint-frontend
depends_on: [deps-frontend]
@ -82,7 +82,7 @@ steps:
path: /go
- name: checks-frontend
image: node:16
image: node:18
commands:
- make checks-frontend
depends_on: [deps-frontend]
@ -97,13 +97,13 @@ steps:
path: /go
- name: test-frontend
image: node:16
image: node:18
commands:
- make test-frontend
depends_on: [lint-frontend]
- name: build-frontend
image: node:16
image: node:18
commands:
- make frontend
depends_on: [test-frontend]
@ -634,7 +634,7 @@ steps:
- git fetch --tags --force
- name: deps-frontend
image: node:16
image: node:18
pull: always
commands:
- make deps-frontend
@ -652,7 +652,7 @@ steps:
image: techknowlogick/xgo:go-1.18.x
pull: always
commands:
- curl -sL https://deb.nodesource.com/setup_16.x | bash - && apt-get install -y nodejs
- curl -sL https://deb.nodesource.com/setup_18.x | bash - && apt-get install -y nodejs
- export PATH=$PATH:$GOPATH/bin
- make release
environment:
@ -753,7 +753,7 @@ steps:
- git fetch --tags --force
- name: deps-frontend
image: node:16
image: node:18
pull: always
commands:
- make deps-frontend
@ -771,7 +771,7 @@ steps:
image: techknowlogick/xgo:go-1.18.x
pull: always
commands:
- curl -sL https://deb.nodesource.com/setup_16.x | bash - && apt-get install -y nodejs
- curl -sL https://deb.nodesource.com/setup_18.x | bash - && apt-get install -y nodejs
- export PATH=$PATH:$GOPATH/bin
- make release
environment: