Reactive Trader Dev Weekday E2E #410
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: Reactive Trader Dev Weekday E2E | |
on: | |
schedule: | |
- cron: "00 8,10,12,14,16 * * 1-5" | |
defaults: | |
run: | |
working-directory: packages/client | |
jobs: | |
e2e: | |
name: End-to-end test against dev | |
runs-on: ubuntu-20.04 | |
if: github.repository_owner == 'AdaptiveConsulting' | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set Node version | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Install dependencies | |
run: npm ci | |
- name: Test Dev | |
env: | |
E2E_RTC_WEB_ROOT_URL: https://web.dev.reactivetrader.com | |
run: npx playwright test --project=web credit.spec.ts | |
continue-on-error: true | |
- name: Artifact Upload | |
uses: actions/upload-artifact@v4 | |
if: failure() | |
with: | |
name: playwright-report-dev | |
path: packages/client/playwright-report/ | |
retention-days: 7 | |
- name: Test UAT | |
env: | |
E2E_RTC_WEB_ROOT_URL: https://web.uat.reactivetrader.com | |
run: npx playwright test --project=web credit.spec.ts | |
continue-on-error: true | |
- name: Artifact Upload | |
uses: actions/upload-artifact@v4 | |
if: failure() | |
with: | |
name: playwright-report-uat | |
path: packages/client/playwright-report/ | |
retention-days: 7 | |
- name: Test Prod | |
env: | |
E2E_RTC_WEB_ROOT_URL: https://web.prod.reactivetrader.com | |
run: npx playwright test --project=web credit.spec.ts | |
continue-on-error: true | |
- name: Artifact Upload | |
uses: actions/upload-artifact@v4 | |
if: failure() | |
with: | |
name: playwright-report-prod | |
path: packages/client/playwright-report/ | |
retention-days: 7 |