Skip to content

skip env validation #26

skip env validation

skip env validation #26

Workflow file for this run

name: Playwright Tests (with GitHub secrets)
on:
push:
branches: [main, preview]
pull_request:
branches: [main]
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install dependencies
run: npm install -g npm@latest && npm ci
- name: Run Jest tests
run: npm run test
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Run Playwright tests
run: |
npx playwright test
env:
BASE_URL: ${{ github.event.deployment_status.environment_url }}
NEXT_PUBLIC_TINA_CLIENT_ID: ${{ secrets.NEXT_PUBLIC_TINA_CLIENT_ID }}
SUPABASE_TOKEN: ${{ secrets.SUPABASE_TOKEN }}
SUPABASE_URL: ${{ secrets.SUPABASE_URL }}
TINA_TOKEN: ${{ secrets.TINA_TOKEN }}
- name: Upload Playwright Report
uses: actions/upload-artifact@v3
if: failure()
with:
name: playwright-report
path: playwright-report/
retention-days: 30