fix(deploy): use npm@20 to fix error (#6356) #4579
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: | |
push: | |
branches: [v5] | |
pull_request: | |
branches: [v5] | |
jobs: | |
build: | |
runs-on: macOS-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Setup Node.js environment | |
uses: actions/[email protected] | |
with: | |
node-version: '16' | |
- name: Run CI | |
run: | | |
npm install | |
npm run ci | |
- name: Update coverall | |
if: ${{ success() }} | |
uses: coverallsapp/github-action@master | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Upload blob report to GitHub Actions Artifacts | |
if: always() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: snapshots | |
path: | | |
__tests__/integration/snapshots/**/*-actual.svg | |
__tests__/integration/snapshots/**/*-actual.html | |
retention-days: 1 |