Skip to content

Commit 4bddb83

Browse files
authored
Merge pull request #7282 from larouxn/allow_npm_11_node_24
Upgrade to NPM 11 and Node 24 active LTS
2 parents 127b7db + 2a70065 commit 4bddb83

8 files changed

Lines changed: 16 additions & 16382 deletions

File tree

.devcontainer/devcontainer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{
44
"name": "Node.js",
55
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6-
"image": "mcr.microsoft.com/devcontainers/javascript-node:1-20-bullseye",
6+
"image": "mcr.microsoft.com/devcontainers/javascript-node:24-bookworm",
77

88
// Features to add to the dev container. More info: https://containers.dev/features.
99
// "features": {},
@@ -13,7 +13,7 @@
1313

1414
// Use 'postCreateCommand' to run commands after the container is created.
1515
//https://github.com/microsoft/vscode-dev-containers/issues/559
16-
"postCreateCommand": "source $NVM_DIR/nvm.sh && nvm install 20"
16+
"postCreateCommand": "source $NVM_DIR/nvm.sh && nvm install 24"
1717

1818
// Configure tool-specific properties.
1919
// "customizations": {},

.github/workflows/__package.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ jobs:
1919
ref: ${{ inputs.commit || github.sha }}
2020

2121
- name: Setup node environment
22-
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
22+
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
2323
with:
24-
node-version: 20
24+
node-version-file: .nvmrc
2525
cache: npm
2626
check-latest: true
2727

.github/workflows/__quality_checks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ jobs:
4848
show-progress: false
4949

5050
- name: Setup node environment ⚙️
51-
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
51+
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
5252
with:
53-
node-version: 20
53+
node-version-file: .nvmrc
5454
cache: npm
5555
check-latest: true
5656

.github/workflows/pull_request.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,9 @@ jobs:
8585
ref: ${{ github.event.pull_request.head.sha }}
8686

8787
- name: Setup node environment
88-
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
88+
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
8989
with:
90-
node-version: 20
90+
node-version-file: .nvrmc
9191
cache: npm
9292
check-latest: true
9393

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20
1+
24

flake.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
devShell = with pkgs;
2121
mkShell rec {
2222
buildInputs = [
23-
nodejs_20
23+
nodejs_24
2424
];
2525

2626
shellHook = ''

0 commit comments

Comments
 (0)