Skip to content

Commit

Permalink
Merge pull request #132 from github/dg/update-node
Browse files Browse the repository at this point in the history
Use node 22
  • Loading branch information
dgreif authored Oct 14, 2024
2 parents 9e5e825 + 18a78a9 commit 8914023
Show file tree
Hide file tree
Showing 8 changed files with 183 additions and 139 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
// Update 'VARIANT' to pick a Node version: 16, 14, 12.
// Append -bullseye or -buster to pin to an OS version.
// Use -bullseye variants on local arm64/Apple Silicon.
"args": { "VARIANT": "16" }
"args": { "VARIANT": "22" }
},

// Set *default* container specific settings.json values on container create.
Expand Down
15 changes: 0 additions & 15 deletions .github/actions/setup/action.yml

This file was deleted.

8 changes: 4 additions & 4 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 16.x
uses: actions/setup-node@v1
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 16.x
node-version: 22
cache: npm
- name: npm install, build, and test
run: |
npm install
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/publish-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,12 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 16.x
node-version: 22
cache: npm

- run: npm install

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
publish-npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 16
node-version: 22
registry-url: https://registry.npmjs.org/
cache: npm
- run: npm ci
Expand Down
Loading

0 comments on commit 8914023

Please sign in to comment.