ci: change playwright device list to use iphone 13 instead of iphone 12 #91
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: Build and Test | |
on: [push] | |
env: | |
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} | |
TURBO_TEAM: ${{ vars.TURBO_TEAM }} | |
jobs: | |
conventions: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/workflows/composites/install/ | |
- run: pnpm lint | |
- run: pnpm format | |
- run: pnpm depcheck | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/workflows/composites/install/ | |
- run: npx playwright install --with-deps | |
- run: pnpm test | |
- uses: actions/upload-artifact@v4 | |
if: always() | |
with: | |
name: playwright | |
path: | | |
**/.playwright/** | |
!node_modules/** | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/workflows/composites/install/ | |
- run: pnpm build | |
env: | |
# We can only build for development in CI, | |
# since production settings and builds are handled externally (e.g. by Vercel). | |
# This CI job is only for sanity testing the build process in the CI. | |
NODE_ENV: development | |
- run: pnpm typecheck |