fix(skills): drop header meta block in favor of standard section head… #29
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: | |
| push: | |
| branches: [main, master] | |
| pull_request: | |
| branches: [main, master] | |
| concurrency: | |
| group: e2e-${{ github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| playwright: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: '22' | |
| cache: 'npm' | |
| - name: Install | |
| run: npm ci --no-audit --no-fund | |
| - name: Cache Playwright browsers | |
| id: cache-pw | |
| uses: actions/cache@v5 | |
| with: | |
| path: ~/.cache/ms-playwright | |
| key: ${{ runner.os }}-playwright-${{ hashFiles('package-lock.json') }} | |
| restore-keys: ${{ runner.os }}-playwright- | |
| - name: Install Playwright browsers | |
| if: steps.cache-pw.outputs.cache-hit != 'true' | |
| run: npx playwright install --with-deps chromium | |
| - name: Install Playwright deps | |
| if: steps.cache-pw.outputs.cache-hit == 'true' | |
| run: npx playwright install-deps chromium | |
| - name: Build | |
| run: npm run build | |
| env: | |
| NEXT_PUBLIC_SITE_URL: https://example.com | |
| - name: Run E2E | |
| run: npm run test:e2e | |
| env: | |
| CI: 'true' | |
| - name: Upload Playwright report | |
| if: failure() | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: playwright-report | |
| path: playwright-report | |
| retention-days: 14 |