feat(vite): update vite configuration #4361
Workflow file for this run
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: '14' | |
- name: Run CI | |
run: | | |
npm install | |
npm run ci | |
- 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 |