Skip to content

[ECO-2152] Segment REST and WS endpoints for dual load balancer schema #404

[ECO-2152] Segment REST and WS endpoints for dual load balancer schema

[ECO-2152] Segment REST and WS endpoints for dual load balancer schema #404

Workflow file for this run

---
jobs:
test:
defaults:
run:
working-directory: 'src/typescript/frontend'
runs-on: 'ubuntu-latest'
steps:
- uses: 'actions/checkout@v4'
- uses: 'actions/setup-node@v4'
with:
node-version: 'lts/*'
- name: 'Install dependencies'
run: 'npm install -g pnpm && pnpm install'
- env:
GITHUB_ACCESS_TOKEN: '${{ secrets.TRADING_VIEW_REPO_ACCESS_TOKEN }}'
TRADING_VIEW_REPO_OWNER: '${{ secrets.TRADING_VIEW_REPO_OWNER }}'
name: 'Prepare CI env'
run: 'pnpm run playwright-preps'
- name: 'Install Playwright Browsers'
run: 'pnpm exec playwright install --with-deps'
- name: 'Copy env file'
run: 'cp ../.env.ci .env'
- env:
INBOX_URL: '${{ secrets.INBOX_URL }}'
NEXT_PUBLIC_MQTT_URL: '${{ secrets.NEXT_PUBLIC_MQTT_URL }}'
name: 'Run Playwright tests'
run: 'pnpm exec playwright test'
- if: 'always()'
uses: 'actions/upload-artifact@v4'
with:
name: 'playwright-report'
path: 'playwright-report/'
retention-days: 30
timeout-minutes: 60
name: 'Playwright Tests'
"on":
pull_request:
branches:
- 'main'
push:
branches:
- 'main'
...