chore: update to latest pnpm and add 48 hours dependency delay (#103) #371
This file contains hidden or 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@v4 | |
| - 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.50.0-noble | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: ./.github/workflows/actions/build | |
| - name: Install dependencies | |
| run: pnpm playwright install chromium | |
| - name: Visual Regression | |
| run: pnpm visual-regression | |
| - uses: actions/upload-artifact@v4 | |
| if: failure() | |
| with: | |
| name: html-report--attempt-${{ github.run_attempt }} | |
| path: | | |
| ./playwright-report/ | |
| retention-days: 1 |