diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6e881fa..dfd4e0d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,7 +27,7 @@ jobs: - run: npm test - run: npm run build - name: Save build - if: matrix.node-version == '14.x' + if: matrix.node-version == '16.x' uses: actions/upload-artifact@v2 with: name: build @@ -45,7 +45,7 @@ jobs: name: build - uses: actions/setup-node@v1 with: - node-version: 14.x + node-version: 16.x - uses: rlespinasse/github-slug-action@v3.x - name: Append commit hash to package version run: 'sed -i -E "s/(\"version\": *\"[^\"]+)/\1-${GITHUB_SHA_SHORT}/" package.json' @@ -65,7 +65,7 @@ jobs: name: build - uses: actions/setup-node@v1 with: - node-version: 14.x + node-version: 16.x - name: Disable pre- and post-publish actions run: 'sed -i -E "s/\"((pre|post)publish)/\"ignore:\1/" package.json' - uses: JS-DevTools/npm-publish@v1