Skip to content

Commit 8914023

Browse files
authored
Merge pull request #132 from github/dg/update-node
Use node 22
2 parents 9e5e825 + 18a78a9 commit 8914023

File tree

8 files changed

+183
-139
lines changed

8 files changed

+183
-139
lines changed

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
// Update 'VARIANT' to pick a Node version: 16, 14, 12.
88
// Append -bullseye or -buster to pin to an OS version.
99
// Use -bullseye variants on local arm64/Apple Silicon.
10-
"args": { "VARIANT": "16" }
10+
"args": { "VARIANT": "22" }
1111
},
1212

1313
// Set *default* container specific settings.json values on container create.

.github/actions/setup/action.yml

Lines changed: 0 additions & 15 deletions
This file was deleted.

.github/workflows/nodejs.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ jobs:
55
build:
66
runs-on: ubuntu-latest
77
steps:
8-
- uses: actions/checkout@v2
9-
- name: Use Node.js 16.x
10-
uses: actions/setup-node@v1
8+
- uses: actions/checkout@v4
9+
- uses: actions/setup-node@v4
1110
with:
12-
node-version: 16.x
11+
node-version: 22
12+
cache: npm
1313
- name: npm install, build, and test
1414
run: |
1515
npm install

.github/workflows/publish-pages.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,12 @@ jobs:
99
build:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v3
12+
- uses: actions/checkout@v4
1313

14-
- uses: actions/setup-node@v3
14+
- uses: actions/setup-node@v4
1515
with:
16-
node-version: 16.x
16+
node-version: 22
17+
cache: npm
1718

1819
- run: npm install
1920

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212
publish-npm:
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v3
16-
- uses: actions/setup-node@v3
15+
- uses: actions/checkout@v4
16+
- uses: actions/setup-node@v4
1717
with:
18-
node-version: 16
18+
node-version: 22
1919
registry-url: https://registry.npmjs.org/
2020
cache: npm
2121
- run: npm ci

0 commit comments

Comments
 (0)