Skip to content

Commit

Permalink
feat: allow using with nodejs 22
Browse files Browse the repository at this point in the history
  • Loading branch information
Julusian committed Sep 9, 2024
1 parent 700f3a2 commit 8f0608f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [18.x]
node-version: [18.x, 22.x]

steps:
- uses: actions/checkout@v4
Expand Down
3 changes: 2 additions & 1 deletion assets/manifest.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@
"properties": {
"type": {
"type": "string",
"description": "Type of the module. Must be: node18"
"description": "Type of the module. Must be: node18 or node22",
"enum": ["node18", "node22"]
},
"api": {
"type": "string",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"unit": "jest"
},
"engines": {
"node": "^18.12"
"node": "^18.12 || ^22.8"
},
"files": [
"README.md",
Expand Down

0 comments on commit 8f0608f

Please sign in to comment.