1231 icon transition #2303
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: Puppeteer | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- '**' | |
env: | |
CI: true | |
jobs: | |
run: | |
name: Puppeteer | |
runs-on: macos-latest | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@v4 | |
- name: Set Node.js version | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Install npm dependencies | |
run: yarn | |
- name: Build | |
run: yarn build | |
- name: Serve | |
run: yarn servebuild & | |
- name: Test | |
run: yarn test:puppeteer | |
- name: Upload snapshot diff artifact | |
if: failure() | |
uses: actions/upload-artifact@v4 | |
with: | |
name: __diff_output__ | |
path: src/e2e/puppeteer/__tests__/__image_snapshots__/*/__diff_output__/ | |
if-no-files-found: ignore |