Skip to content

Commit 2679901

Browse files
committed
ci.yml
1 parent 02009ae commit 2679901

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- run: npm run doc
2929
- run: npm run build
3030
- name: Save build
31-
if: matrix.node-version == '16.x'
31+
if: matrix.node-version == '18.x'
3232
uses: actions/upload-artifact@v2
3333
with:
3434
name: build
@@ -60,7 +60,7 @@ jobs:
6060
name: build
6161
- uses: actions/setup-node@v1
6262
with:
63-
node-version: 16.x
63+
node-version: 18.x
6464
- uses: rlespinasse/[email protected]
6565
- name: Append commit hash to package version
6666
run: 'sed -i -E "s/(\"version\": *\"[^\"]+)/\1-${GITHUB_SHA_SHORT}/" package.json'
@@ -81,7 +81,7 @@ jobs:
8181
name: build
8282
- uses: actions/setup-node@v1
8383
with:
84-
node-version: 16.x
84+
node-version: 18.x
8585
- name: Disable pre- and post-publish actions
8686
run: 'sed -i -E "s/\"((pre|post)publish)/\"ignore:\1/" package.json'
8787
- uses: JS-DevTools/npm-publish@v1

0 commit comments

Comments
 (0)