File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1515 strategy :
1616 matrix :
1717 node-version :
18- - 16.x
1918 - 18.x
19+ - 20.x
2020 steps :
2121 - uses : actions/checkout@v4
2222 - name : Use Node.js ${{ matrix.node-version }}
2828 - run : npm run doc
2929 - run : npm run build
3030 - name : Save build
31- if : matrix.node-version == '18 .x'
31+ if : matrix.node-version == '20 .x'
3232 uses : actions/upload-artifact@v4
3333 with :
3434 name : build
5959 name : build
6060 - uses : actions/setup-node@v4
6161 with :
62- node-version : 18 .x
62+ node-version : 20 .x
6363 -
uses :
rlespinasse/[email protected] 6464 - name : Append commit hash to package version
6565 run : ' sed -i -E "s/(\"version\": *\"[^\"]+)/\1-${GITHUB_SHA_SHORT}/" package.json'
8080 name : build
8181 - uses : actions/setup-node@v1
8282 with :
83- node-version : 18 .x
83+ node-version : 20 .x
8484 - name : Disable pre- and post-publish actions
8585 run : ' sed -i -E "s/\"((pre|post)publish)/\"ignore:\1/" package.json'
8686 - uses : JS-DevTools/npm-publish@v1
You can’t perform that action at this time.
0 commit comments