File tree Expand file tree Collapse file tree 3 files changed +3144
-10901
lines changed Expand file tree Collapse file tree 3 files changed +3144
-10901
lines changed Original file line number Diff line number Diff line change 2222 node-version :
2323 - 18.x
2424 - 20.x
25+ - 22.x
2526
2627 steps :
2728 - uses : actions/checkout@v2
3435 - run : npm test
3536 - run : npm run build --if-present
3637 - name : Save build
37- if : matrix.node-version == '18 .x'
38+ if : matrix.node-version == '20 .x'
3839 uses : actions/upload-artifact@v4
3940 with :
4041 name : build
5253 name : build
5354 - uses : actions/setup-node@v1
5455 with :
55- node-version : 18 .x
56+ node-version : 20 .x
5657 -
uses :
rlespinasse/[email protected] 5758 - name : Append commit hash to package version
5859 run : ' sed -i -E "s/(\"version\": *\"[^\"]+)/\1-${GITHUB_SHA_SHORT}/" package.json'
7374 name : build
7475 - uses : actions/setup-node@v1
7576 with :
76- node-version : 18 .x
77+ node-version : 20 .x
7778 - name : Disable pre- and post-publish actions
7879 run : ' sed -i -E "s/\"((pre|post)publish)/\"ignore:\1/" package.json'
7980 - 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