Skip to content

Commit

Permalink
chore: add support for nodejs 21 (#831)
Browse files Browse the repository at this point in the history
  • Loading branch information
kunal15595 authored Nov 6, 2023
1 parent 02465e2 commit 5ec53fa
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 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: [16.x, 18.x, 20.x]
node-version: [16.x, 18.x, 20.x, 21.x]

steps:
- uses: actions/checkout@v3
Expand All @@ -37,10 +37,10 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Use Node.js 18.x
- name: Use Node.js 20.x
uses: actions/setup-node@v3
with:
node-version: 18.x
node-version: 20.x
- run: npm ci
- run: npm run build
- run: npm run test:headless
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ test/browser/webpack-test.js
.nyc_output
.npmrc
.coveralls.yml
.idea
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"rate-limiting"
],
"engines": {
"node": "^20 || ^18 || ^16"
"node": "^21 || ^20 || ^18 || ^16"
},
"support": true
}

0 comments on commit 5ec53fa

Please sign in to comment.