[Snyk] Upgrade @t3-oss/env-nextjs from 0.3.1 to 0.10.1 #4
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: Playwright Tests | |
on: | |
push: | |
branches: [main, master] | |
pull_request: | |
branches: [main, master] | |
env: | |
CI: true | |
PLAYWRIGHT_BROWSERS_PATH: /tmp/playwright_browsers | |
DATABASE_URL: 'file:./test.sqlite' | |
JWT_SECRET: '52e9c665-d4a9-4fe6-92ec-c7826348a123' | |
jobs: | |
test: | |
timeout-minutes: 60 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
- uses: pnpm/action-setup@v4 | |
with: | |
version: 9 | |
- name: Create test db | |
run: touch prisma/test.sqlite | |
- name: Install dependencies | |
run: pnpm install | |
- name: Run lint | |
run: pnpm lint | |
- name: Install Playwright Browsers | |
run: pnpm exec playwright install --with-deps | |
- name: Run Playwright tests | |
run: pnpm exec playwright test | |
- uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: test-results | |
path: test-results/ | |
retention-days: 30 |