File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 28
28
- run : npm run doc
29
29
- run : npm run build
30
30
- name : Save build
31
- if : matrix.node-version == '16 .x'
31
+ if : matrix.node-version == '18 .x'
32
32
uses : actions/upload-artifact@v2
33
33
with :
34
34
name : build
60
60
name : build
61
61
- uses : actions/setup-node@v1
62
62
with :
63
- node-version : 16 .x
63
+ node-version : 18 .x
64
64
-
uses :
rlespinasse/[email protected]
65
65
- name : Append commit hash to package version
66
66
run : ' sed -i -E "s/(\"version\": *\"[^\"]+)/\1-${GITHUB_SHA_SHORT}/" package.json'
81
81
name : build
82
82
- uses : actions/setup-node@v1
83
83
with :
84
- node-version : 16 .x
84
+ node-version : 18 .x
85
85
- name : Disable pre- and post-publish actions
86
86
run : ' sed -i -E "s/\"((pre|post)publish)/\"ignore:\1/" package.json'
87
87
- uses : JS-DevTools/npm-publish@v1
You can’t perform that action at this time.
0 commit comments