Skip to content

Commit b1ab23f

Browse files
Use node v22
1 parent aeb5449 commit b1ab23f

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
name: Release
1818
runs-on: ubuntu-latest
1919
if: "!contains(github.event.head_commit.message, 'skip ci')"
20-
20+
2121
steps:
2222
- name: Checkout
2323
uses: actions/checkout@v4
@@ -28,8 +28,8 @@ jobs:
2828
- name: Setup Node.js
2929
uses: actions/setup-node@v4
3030
with:
31-
node-version: '18'
32-
cache: 'npm'
31+
node-version: "22"
32+
cache: "npm"
3333

3434
- name: Install dependencies
3535
run: npm ci
@@ -44,4 +44,4 @@ jobs:
4444
env:
4545
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4646
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
47-
run: npx semantic-release
47+
run: npx semantic-release

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v22.17.1

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,8 @@
5151
},
5252
"publishConfig": {
5353
"access": "public"
54+
},
55+
"engines": {
56+
"node": ">=22"
5457
}
5558
}

0 commit comments

Comments
 (0)