mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-23 01:37:54 +08: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:
parent
8420c1bf4c
commit
9cd1f38f70
18
.drone.yml
18
.drone.yml
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user