aboutsummaryrefslogtreecommitdiffstats
path: root/.drone.yml
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2023-05-05 00:21:48 +0200
committerGitHub <noreply@github.com>2023-05-04 22:21:48 +0000
commit0ca1958e1ab8198c40ad952dac27ef0b9825385a (patch)
tree29a5bf3a6ef6247bf9ef230795840d8fcab68ea5 /.drone.yml
parent747e9f735cfe654a1cb7cd4babf0689f5a978cb7 (diff)
downloadgitea-0ca1958e1ab8198c40ad952dac27ef0b9825385a.tar.gz
gitea-0ca1958e1ab8198c40ad952dac27ef0b9825385a.zip
Upgrade to Node 20 on CI, enable actions cancellation (#24524)
- Upgrade node, the [snap](https://github.com/go-gitea/gitea/blob/7abe958f5b507efa676fb3b2e27d30517f6d1908/snap/snapcraft.yaml#L47) is excluded from this because [there is no Node 20 snap yet](https://snapcraft.io/node). - Add actions build cancellation based on [this](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-using-a-fallback-value). --------- Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/.drone.yml b/.drone.yml
index 7810d3d104..4e7789ef92 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -33,7 +33,7 @@ steps:
- git fetch --tags --force
- name: deps-frontend
- image: node:18
+ image: node:20
pull: always
commands:
- make deps-frontend
@@ -51,7 +51,7 @@ steps:
image: techknowlogick/xgo:go-1.20.x
pull: always
commands:
- # Upgrade to node 18 once https://github.com/techknowlogick/xgo/issues/163 is resolved
+ # Upgrade to node 20 once https://github.com/techknowlogick/xgo/issues/163 is resolved
- curl -sL https://deb.nodesource.com/setup_16.x | bash - && apt-get -qqy install nodejs
- export PATH=$PATH:$GOPATH/bin
- make release
@@ -161,7 +161,7 @@ steps:
- git fetch --tags --force
- name: deps-frontend
- image: node:18
+ image: node:20
pull: always
commands:
- make deps-frontend
@@ -179,7 +179,7 @@ steps:
image: techknowlogick/xgo:go-1.20.x
pull: always
commands:
- # Upgrade to node 18 once https://github.com/techknowlogick/xgo/issues/163 is resolved
+ # Upgrade to node 20 once https://github.com/techknowlogick/xgo/issues/163 is resolved
- curl -sL https://deb.nodesource.com/setup_16.x | bash - && apt-get -qqy install nodejs
- export PATH=$PATH:$GOPATH/bin
- make release