Skip to content

✨ add coverage report #7

✨ add coverage report

✨ add coverage report #7

Workflow file for this run

name: Run Tests
on:
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
environment: test
env:
AUTH_SECRET: ${{ secrets.AUTH_SECRET }}
DB_PASSWORD: ${{ secrets.DB_PASSWORD }}
GOOGLE_CLIENT_ID: ${{ secrets.GOOGLE_CLIENT_ID }}
GOOGLE_CLIENT_SECRET: ${{ secrets.GOOGLE_CLIENT_SECRET }}
YOUTUBE_API_KEY: ${{ secrets.YOUTUBE_API_KEY }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18'
- run: npm ci
- run: ./scripts/create-test-env.sh
- run: cat .env.test
- run: cp .env.test .env
- run: npx svelte-kit sync
- run: npm run check
- run: npm run lint
- run: npx playwright install
- run: npm test