add e2e for next/head and next/amp in pages router #1578
Workflow file for this run
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: Code checks | |
| on: | |
| push: | |
| branches: [main, experimental] | |
| pull_request: | |
| jobs: | |
| checks: | |
| name: ${{ matrix.script }} | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| script: ["prettier:check", "lint:check", "ts:check", "test"] | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@v4 | |
| - name: Install Dependencies | |
| uses: ./.github/actions/install-dependencies | |
| - name: ${{ matrix.script }} | |
| run: pnpm run ${{ matrix.script }} |