chore(deps): bump story to vite 8 and plugin-react 6 (#24) #103
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: E2E | |
| on: | |
| pull_request: | |
| branches: [main] | |
| push: | |
| branches: [main] | |
| concurrency: | |
| group: e2e-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| playwright: | |
| name: Playwright (${{ matrix.project }}) | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 20 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| project: [ desktop, mobile ] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: pnpm/action-setup@v6 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 24 | |
| cache: pnpm | |
| - run: pnpm install --frozen-lockfile | |
| - uses: foundry-rs/foundry-toolchain@v1 | |
| with: | |
| version: stable | |
| - name: Install e2e package deps | |
| working-directory: e2e | |
| run: pnpm install --ignore-workspace --frozen-lockfile | |
| - name: Install Playwright browsers | |
| working-directory: e2e | |
| run: pnpm exec playwright install --with-deps ${{ matrix.project == 'mobile' && 'webkit' || 'chromium' }} | |
| - name: Run Playwright tests | |
| working-directory: e2e | |
| env: | |
| SEPOLIA_RPC_URL: ${{ secrets.SEPOLIA_RPC_URL }} | |
| CI: "1" | |
| run: pnpm test --project=${{ matrix.project }} | |
| - name: Upload Playwright report | |
| if: failure() | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: playwright-report-${{ matrix.project }} | |
| path: e2e/playwright-report | |
| retention-days: 7 | |
| - name: Upload trace | |
| if: failure() | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: playwright-trace-${{ matrix.project }} | |
| path: e2e/test-results | |
| retention-days: 7 |