chore: bump node version

This commit is contained in:
鲁树人 2024-12-15 03:57:00 +09:00
parent 87d2d71193
commit 82dbfc2d1f
2 changed files with 3 additions and 4 deletions

View File

@ -5,7 +5,7 @@ name: default
steps: steps:
- name: test & build - name: test & build
image: node:20.10.0-bookworm image: node:22.12.0-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:20.10.0-bookworm image: node:22.12.0-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:

3
.npmrc
View File

@ -1,5 +1,4 @@
use-node-version=20.10.0 use-node-version=22.12.0
node-version=20.10.0
engine-strict=true engine-strict=true
@um:registry=https://git.unlock-music.dev/api/packages/um/npm/ @um:registry=https://git.unlock-music.dev/api/packages/um/npm/
@unlock-music:registry=https://git.unlock-music.dev/api/packages/um/npm/ @unlock-music:registry=https://git.unlock-music.dev/api/packages/um/npm/