Add and update icons (#59) #223
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: | |
- 'main' | |
- 'release/*' | |
pull_request: | |
branches: | |
- '**' | |
workflow_dispatch: | |
workflow_call: | |
concurrency: | |
group: ci-${{ github.sha }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ./.github/workflows/actions/build | |
- name: Test | |
run: pnpm test | |
visual-regression: | |
timeout-minutes: 10 | |
runs-on: ubuntu-latest | |
container: | |
image: mcr.microsoft.com/playwright:v1.39.0-jammy | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ./.github/workflows/actions/build | |
- name: Install dependencies | |
run: pnpm playwright install chromium | |
- name: Visual Regression | |
run: pnpm visual-regression | |
- uses: actions/upload-artifact@v3 | |
if: failure() | |
with: | |
name: html-report--attempt-${{ github.run_attempt }} | |
path: | | |
./playwright-report/ | |
retention-days: 1 |