Attempting to fix Playwright tests failing - human edition #787
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: Run_Svelte_Check_on_PRs | |
on: | |
pull_request: | |
paths-ignore: | |
- 'shows/*.md' | |
env: | |
PUBLIC_GITHUB_ID: ${{ secrets.PUBLIC_GITHUB_ID }} | |
GH_SECRET: ${{ secrets.GH_SECRET }} | |
DEEPGRAM_SECRET: ${{ secrets.DEEPGRAM_SECRET }} | |
PUBLIC_URL: ${{ secrets.PUBLIC_URL }} | |
SENTRY_AUTH_TOKEN: '' | |
DATABASE_URL: ${{ secrets.DATABASE_URL }} | |
UPSPLASH_TOKEN: '' | |
UPSPLASH_URL: '' | |
YOUTUBE_API_KEY: '' | |
TURNSTILE_SECRET: '' | |
PUBLIC_TURNSTILE_SITE_KEY: '' | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: pnpm-setup | |
uses: pnpm/action-setup@v4 | |
with: | |
version: 8 | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18.18.2 | |
cache: 'pnpm' | |
- name: Install dependencies | |
run: pnpm install | |
- name: Setup DB | |
run: pnpm db:generate | |
- name: Run Svelte Check | |
run: pnpm check |