Skip to content

Commit

Permalink
chore: add support for node 22 (#420)
Browse files Browse the repository at this point in the history
* chore: add support for node 22

* squash: workaround for a recent npm bug
  • Loading branch information
lholmquist authored Aug 7, 2024
1 parent c8f4487 commit 567cf00
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/nodejs-ci-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

strategy:
matrix:
node-version: [18.x, 20.x]
node-version: [18.x, 20.x, 22.x]

steps:
- uses: actions/checkout@v3
Expand All @@ -23,7 +23,7 @@ jobs:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm test
- run: npx @pkgjs/support validate
- run: npx @pkgjs/support@latest validate
- run: node_modules/nyc/bin/nyc.js report --reporter=lcovonly
- name: Coveralls Parallel
uses: coverallsapp/github-action@master
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
}
],
"engines": {
"node": "^20 || ^18"
"node": "^22 || ^20 || ^18"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 567cf00

Please sign in to comment.