chore: prefer node v20.8.1 over v18

This commit is contained in:
鲁树人 2023-10-19 02:05:23 +01:00
parent c5c0ca450b
commit fbb2257e28
2 changed files with 4 additions and 4 deletions

View File

@ -5,7 +5,7 @@ name: default
steps: steps:
- name: test & build - name: test & build
image: node:18.16.1-bookworm image: node:20.8.1-bookworm
commands: commands:
# - git config --global --add safe.directory "/drone/src" # - git config --global --add safe.directory "/drone/src"
- corepack enable - corepack enable
@ -17,7 +17,7 @@ steps:
npm_config_registry: https://registry.npmmirror.com npm_config_registry: https://registry.npmmirror.com
- name: publish - name: publish
image: node:18.16.1-bookworm image: node:20.8.1-bookworm
environment: environment:
DRONE_GITEA_SERVER: https://git.unlock-music.dev DRONE_GITEA_SERVER: https://git.unlock-music.dev
GITEA_API_KEY: GITEA_API_KEY:

4
.npmrc
View File

@ -1,3 +1,3 @@
use-node-version=18.16.0 use-node-version=20.8.1
node-version=18.16.0 node-version=20.8.1
engine-strict=true engine-strict=true