File tree Expand file tree Collapse file tree 3 files changed +1131
-5927
lines changed Expand file tree Collapse file tree 3 files changed +1131
-5927
lines changed Original file line number Diff line number Diff line change 22
22
node-version :
23
23
- 18.x
24
24
- 20.x
25
+ - 22.x
25
26
26
27
steps :
27
28
- uses : actions/checkout@v2
34
35
- run : npm test
35
36
- run : npm run build --if-present
36
37
- name : Save build
37
- if : matrix.node-version == '18 .x'
38
+ if : matrix.node-version == '20 .x'
38
39
uses : actions/upload-artifact@v4
39
40
with :
40
41
name : build
51
52
name : build
52
53
- uses : actions/setup-node@v1
53
54
with :
54
- node-version : 18 .x
55
+ node-version : 20 .x
55
56
-
uses :
rlespinasse/[email protected]
56
57
- name : Append commit hash to package version
57
58
run : ' sed -i -E "s/(\"version\": *\"[^\"]+)/\1-${GITHUB_SHA_SHORT}/" package.json'
72
73
name : build
73
74
- uses : actions/setup-node@v1
74
75
with :
75
- node-version : 18 .x
76
+ node-version : 20 .x
76
77
- name : Disable pre- and post-publish actions
77
78
run : ' sed -i -E "s/\"((pre|post)publish)/\"ignore:\1/" package.json'
78
79
- uses : JS-DevTools/npm-publish@v1
Original file line number Diff line number Diff line change 1
- v18 .19.0
1
+ v20 .19.2
You can’t perform that action at this time.
0 commit comments