File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515 strategy :
1616 matrix :
1717 node-version :
18+ - 14.x
1819 - 16.x
1920 steps :
2021 - uses : actions/checkout@v2
2728 - run : npm run doc
2829 - run : npm run build
2930 - name : Save build
30- if : matrix.node-version == '16 .x'
31+ if : matrix.node-version == '14 .x'
3132 uses : actions/upload-artifact@v2
3233 with :
3334 name : build
5960 name : build
6061 - uses : actions/setup-node@v1
6162 with :
62- node-version : 16 .x
63+ node-version : 14 .x
6364 - uses : rlespinasse/github-slug-action@v3.x
6465 - name : Append commit hash to package version
6566 run : ' sed -i -E "s/(\"version\": *\"[^\"]+)/\1-${GITHUB_SHA_SHORT}/" package.json'
8081 name : build
8182 - uses : actions/setup-node@v1
8283 with :
83- node-version : 16 .x
84+ node-version : 14 .x
8485 - name : Disable pre- and post-publish actions
8586 run : ' sed -i -E "s/\"((pre|post)publish)/\"ignore:\1/" package.json'
8687 - uses : JS-DevTools/npm-publish@v1
Original file line number Diff line number Diff line change 1- v16.13.2
1+ v16.14.0
You can’t perform that action at this time.
0 commit comments