Skip to content

Commit

Permalink
feat: allow using with nodejs 22 (#94)
Browse files Browse the repository at this point in the history
  • Loading branch information
Julusian authored Sep 23, 2024
1 parent b873305 commit 9d78a2e
Show file tree
Hide file tree
Showing 4 changed files with 8 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
4 changes: 4 additions & 0 deletions .github/workflows/prerelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: '18.x'
Expand All @@ -29,6 +31,8 @@ jobs:
CI: true
- name: Publish to NPM
run: |
git fetch origin main
yarn version ${{ github.event.inputs.tag }}
npm publish --access=public --tag nightly
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 9d78a2e

Please sign in to comment.