chore(deps): bump the npm_and_yarn group across 1 directory with 2 up… #2061
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: Test | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| unit: | |
| name: Unit tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Setup Node | |
| uses: actions/setup-node@v6 | |
| with: | |
| cache: 'npm' | |
| node-version: 24 | |
| - name: Install Node dependencies | |
| run: npm ci | |
| - name: Run unit tests | |
| run: npx vitest --project unit | |
| - name: Build | |
| run: npm run build | |
| e2e: | |
| name: E2E tests | |
| runs-on: ubuntu-latest | |
| container: | |
| image: mcr.microsoft.com/playwright:v1.61.1-noble | |
| options: --user 1001 | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Setup Node | |
| uses: actions/setup-node@v6 | |
| with: | |
| cache: 'npm' | |
| node-version: 24 | |
| - name: Install Node dependencies | |
| run: npm ci | |
| - name: Run E2E tests | |
| run: npx playwright test --project=chromium --reporter=github,html | |
| - name: Upload Playwright report | |
| if: always() | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: playwright-report | |
| path: playwright-report | |
| retention-days: 7 | |
| publish: | |
| name: Lint and Build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: actions/setup-node@v6 | |
| - name: Install Node dependencies | |
| run: npm ci | |
| - run: npm run lint | |
| - run: npx tsc | |
| - run: npm run build:only |