Skip to content

Commit

Permalink
add support for npm 11 (#10795)
Browse files Browse the repository at this point in the history
  • Loading branch information
LitoMore authored Jan 10, 2025
1 parent 973dac7 commit 1664b88
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-package-lib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
npm: '^10'
engine-strict: 'true'
- node: '22'
npm: '^10'
npm: '^11'
engine-strict: 'false'
steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ COPY package.json package-lock.json /usr/src/app/
# Without the badge-maker package.json and CLI script in place, `npm ci` will fail.
COPY badge-maker /usr/src/app/badge-maker/

RUN npm install -g "npm@^9.0.0"
RUN npm install -g "npm@^10"
# We need dev deps to build the front end. We don't need Cypress, though.
RUN NODE_ENV=development CYPRESS_INSTALL_BINARY=0 npm ci

Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@
},
"engines": {
"node": "^20.10.0",
"npm": "^9.0.0 || ^10.0.0"
"npm": "^9 || ^10 || ^11"
},
"type": "module",
"collective": {
Expand Down

0 comments on commit 1664b88

Please sign in to comment.