chore: prefer node v20.8.1 over v18

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

View File

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

4
.npmrc
View File

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