File tree 3 files changed +187
-503
lines changed 3 files changed +187
-503
lines changed Original file line number Diff line number Diff line change 9
9
runs-on : ubuntu-latest
10
10
steps :
11
11
- name : Checkout
12
- uses : actions/checkout@v3.5.3
12
+ uses : actions/checkout@v4
13
13
with :
14
14
fetch-depth : 0
15
15
- name : Setup Node.js
16
- uses : actions/setup-node@v3.7.0
16
+ uses : actions/setup-node@v4
17
17
with :
18
- node-version : ' 18.x '
18
+ node-version : " 22.x "
19
19
- name : Install dependencies
20
20
run : npm install
21
21
- name : Build
22
22
run : npm run prepack
23
23
- name : Upload dist
24
- uses : actions/upload-artifact@v3.1.2
24
+ uses : actions/upload-artifact@v4
25
25
with :
26
26
name : lib
27
27
path : lib
@@ -32,17 +32,17 @@ jobs:
32
32
needs : build
33
33
steps :
34
34
- name : Checkout
35
- uses : actions/checkout@v3.5.3
35
+ uses : actions/checkout@v4
36
36
with :
37
37
fetch-depth : 0
38
38
- name : Setup Node.js
39
- uses : actions/setup-node@v3.7.0
39
+ uses : actions/setup-node@v4
40
40
with :
41
- node-version : ' 18.x '
41
+ node-version : " 22.x "
42
42
- name : Install dependencies
43
43
run : npm install
44
44
- name : Download dist
45
- uses : actions/download-artifact@v3
45
+ uses : actions/download-artifact@v4
46
46
with :
47
47
name : lib
48
48
path : lib
56
56
- name : Release
57
57
if : steps.update_tag.outputs.tagname
58
58
id : release-plugin
59
- uses : JS-DevTools/npm-publish@v2.2.0
59
+ uses : JS-DevTools/npm-publish@v3
60
60
with :
61
61
token : ${{ secrets.NPM_TOKEN }}
62
62
strategy : upgrade
65
65
id : github-release
66
66
env :
67
67
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
68
- run : gh release create v${{ steps.release-plugin.outputs.version }} --title "Release ${{ steps.release-plugin.outputs.version }}" --generate-notes
68
+ run : gh release create v${{ steps.release-plugin.outputs.version }} --title "Release ${{ steps.release-plugin.outputs.version }}" --generate-notes
You can’t perform that action at this time.
0 commit comments