chore: port vercel/app-playground
#2
Workflow file for this run
This file contains 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: ci | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
concurrency: | |
group: ci-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
vercel-app-playground: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./vercel-app-playground | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- run: corepack enable | |
- run: pnpm i | |
- run: pnpm lint-check | |
- run: pnpm tsc | |
- run: pnpm exec playwright install chromium | |
- run: pnpm test-e2e | |
- run: pnpm build | |
- run: pnpm test-e2e-preview |