Scheduled E2E #35
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: Scheduled E2E | |
on: | |
schedule: | |
- cron: "55 8 * * *" | |
defaults: | |
run: | |
working-directory: packages/client | |
jobs: | |
e2e: | |
name: End-to-end smoke test against RT Prod | |
runs-on: ubuntu-20.04 | |
if: github.repository_owner == 'AdaptiveConsulting' | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set Node version | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
- name: Install | |
run: npm ci | |
- name: Test | |
env: | |
E2E_RTC_WEB_ROOT_URL: https://web.prod.reactivetrader.com | |
run: | | |
npm run e2e:web:smoke | |
- uses: actions/upload-artifact@v3 | |
if: failure() | |
with: | |
name: playwright-report | |
path: packages/client/playwright-report/ | |
retention-days: 7 |