chore: fix tasks #5
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: Verify PR | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| main: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| filter: tree:0 | |
| fetch-depth: 0 | |
| - uses: pnpm/action-setup@v4 | |
| name: Install pnpm | |
| with: | |
| run_install: false | |
| - name: Install Node.js per package.json | |
| uses: actions/setup-node@v5 | |
| with: | |
| cache: 'pnpm' | |
| - run: pnpm install | |
| - run: npx playwright install --with-deps | |
| # Prepend any command with "nx-cloud record --" to record its logs to Nx Cloud | |
| # - run: npx nx-cloud record -- echo Hello World | |
| # When you enable task distribution, run the e2e-ci task instead of e2e | |
| - run: pnpm nx run-many -t lint test build typecheck e2e |