Periodic Test of Prod #308
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: Periodic Test of Prod | |
on: | |
schedule: | |
# 3:20 AM UTC = 11:20 PM EST every day | |
- cron: "20 3 * * *" | |
permissions: | |
contents: read | |
jobs: | |
playwright: | |
name: RunPlaywrightTests | |
timeout-minutes: 60 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 | |
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 | |
with: | |
node-version: 18 | |
- name: Install dependencies | |
working-directory: e2e | |
run: npm ci | |
- name: Install Playwright Browsers | |
working-directory: e2e | |
run: npx playwright install --with-deps | |
- name: Run Playwright tests on Prod | |
working-directory: e2e | |
run: | | |
npx playwright test --config playwright-prod.config.ts |