Skip to content

Commit aa8ea02

Browse files
Updated node version in package publish workflow file
1 parent 8302ea2 commit aa8ea02

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,19 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: Checkout
12-
uses: actions/checkout@v3.5.3
12+
uses: actions/checkout@v4
1313
with:
1414
fetch-depth: 0
1515
- name: Setup Node.js
16-
uses: actions/setup-node@v3.7.0
16+
uses: actions/setup-node@v4
1717
with:
18-
node-version: "18.x"
18+
node-version: "22.x"
1919
- name: Installing dependencies
2020
run: npm install
2121
- name: Build
2222
run: npm run prepack
2323
- name: Upload dist
24-
uses: actions/upload-artifact@v3.1.2
24+
uses: actions/upload-artifact@v4
2525
with:
2626
name: lib
2727
path: lib
@@ -32,13 +32,13 @@ jobs:
3232
needs: build
3333
steps:
3434
- name: Checkout
35-
uses: actions/checkout@v3.5.3
35+
uses: actions/checkout@v4
3636
with:
3737
fetch-depth: 0
3838
- name: Setup Node.js
39-
uses: actions/setup-node@v3.7.0
39+
uses: actions/setup-node@v4
4040
with:
41-
node-version: "18.x"
41+
node-version: "22.x"
4242
- name: Installing dependencies
4343
run: npm install
4444
- name: Download dist
@@ -50,7 +50,7 @@ jobs:
5050
run: ls -R
5151
- name: Release
5252
id: release-plugin
53-
uses: JS-DevTools/npm-publish@v2.2.0
53+
uses: JS-DevTools/npm-publish@v3
5454
with:
5555
token: ${{ secrets.NPM_TOKEN }}
5656
access: public

0 commit comments

Comments
 (0)