Update .npmrc to remove 'use-node-version' and add node mirrors
All checks were successful
CI / cache-and-install (push) Successful in 2m27s
All checks were successful
CI / cache-and-install (push) Successful in 2m27s
This commit is contained in:
@ -19,6 +19,8 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- run: sed -i '/use-node-version/d' .npmrc
|
||||
|
||||
- uses: pnpm/action-setup@v4
|
||||
name: Install pnpm
|
||||
with:
|
||||
|
7
.npmrc
7
.npmrc
@ -1,4 +1,11 @@
|
||||
registry=https://registry.npmmirror.com
|
||||
registry=https://registry.npmjs.org/
|
||||
registry=https://verdaccio.1-h.cc
|
||||
|
||||
# https://pnpm.io/zh/npmrc#node-mirrorltreleasedir
|
||||
use-node-version=20.17.0
|
||||
node-mirror:release=https://npmmirror.com/mirrors/node/
|
||||
node-mirror:rc=https://npmmirror.com/mirrors/node-rc/
|
||||
node-mirror:nightly=https://npmmirror.com/mirrors/node-nightly/
|
||||
|
||||
shamefully-hoist=true
|
||||
|
@ -95,8 +95,5 @@
|
||||
"vite-plugin-vue-devtools": "^7.4.5",
|
||||
"vitest": "^2.1.1",
|
||||
"vue-tsc": "^2.1.6"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=20.0.0"
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user