Skip to content

Commit b53db4c

Browse files
authored
Set npm version to v11.x (#93)
* Set npm version to v11.x * Upgrade npm to v11 in code-quality.yml
1 parent 6419ba7 commit b53db4c

File tree

5 files changed

+12
-4
lines changed

5 files changed

+12
-4
lines changed

.github/workflows/code-quality.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ jobs:
2626
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
2727
with:
2828
node-version-file: .nvmrc
29+
- name: Upgrade npm to v11
30+
run: npm install -g npm@11
2931
- name: Install dependencies
3032
if: steps.cache-nodemodules.outputs.cache-hit != 'true'
3133
run: npm ci --ignore-scripts
@@ -46,6 +48,8 @@ jobs:
4648
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
4749
with:
4850
node-version-file: .nvmrc
51+
- name: Upgrade npm to v11
52+
run: npm install -g npm@11
4953
- name: Install dependencies
5054
if: steps.cache-nodemodules.outputs.cache-hit != 'true'
5155
run: npm ci --ignore-scripts
@@ -69,6 +73,8 @@ jobs:
6973
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
7074
with:
7175
node-version-file: .nvmrc
76+
- name: Upgrade npm to v11
77+
run: npm install -g npm@11
7278
- name: Install dependencies
7379
if: steps.cache-nodemodules.outputs.cache-hit != 'true'
7480
run: npm ci --ignore-scripts
@@ -92,6 +98,8 @@ jobs:
9298
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
9399
with:
94100
node-version-file: .nvmrc
101+
- name: Upgrade npm to v11
102+
run: npm install -g npm@11
95103
- name: Install dependencies
96104
if: steps.cache-nodemodules.outputs.cache-hit != 'true'
97105
run: npm ci --ignore-scripts

data/zip-download/package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

data/zip-download/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"private": true,
66
"engines": {
77
"node": ">=20.0.0 <21.0.0",
8-
"npm": ">=10.0.0 <11.0.0"
8+
"npm": ">=11.0.0 <12.0.0"
99
},
1010
"scripts": {
1111
"start": "npx --yes tsx server.ts"

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
},
4040
"engines": {
4141
"node": ">=20.0.0 <21.0.0",
42-
"npm": ">=10.0.0 <11.0.0"
42+
"npm": ">=11.0.0 <12.0.0"
4343
},
4444
"scripts": {
4545
"start": "npx --yes tsx --require ./src/instrumentation.ts server.ts",

0 commit comments

Comments
 (0)