Skip to content

🐛 fix transcript fetch (#2080) #897

🐛 fix transcript fetch (#2080)

🐛 fix transcript fetch (#2080) #897

name: Run_Playwright_Tests_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: ''
CONVERT_KIT_V4_API_KEY: ''
MEGAPHONE_API_TOKEN: ''
MEGAPHONE_NETWORK_ID: ''

Check failure on line 20 in .github/workflows/playwright-tests.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/playwright-tests.yml

Invalid workflow file

You have an error in your yaml syntax on line 20
MEGAPHONE_PODCAST_ID: ''
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: pnpm-setup
uses: pnpm/action-setup@v4
with:
version: 10
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 22
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Setup DB
run: pnpm db:generate
- name: Install playwright browsers
run: pnpx playwright install --with-deps
- name: Run Playwright tests
run: pnpm run test