Skip to content

Commit

Permalink
node 22 (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
rom1504 authored Jan 26, 2025
1 parent 968873f commit 343a6eb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

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

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@master
with:
node-version: 18.0.0
node-version: 22.0.0
- id: publish
uses: JS-DevTools/npm-publish@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
if (typeof process !== 'undefined' && parseInt(process.versions.node.split('.')[0]) < 18) {
console.error('Your node version is currently', process.versions.node)
console.error('Please update it to a version >= 18.x.x from https://nodejs.org/')
console.error('Please update it to a version >= 22.x.x from https://nodejs.org/')
process.exit(1)
}

Expand Down

0 comments on commit 343a6eb

Please sign in to comment.