Skip to content

Commit 60eddb6

Browse files
update 5
1 parent a2ab123 commit 60eddb6

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/quality.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ jobs:
4646
CI: true
4747
PLAYWRIGHT_VIDEO: 'on'
4848
PLAYWRIGHT_APP_BACKEND: backend:8765
49+
REACT_APP_BACKEND: backend:8765
50+
REACT_APP_META_BACKEND: undefined
51+
DISABLE_ESLINT_PLUGIN: true
52+
TSC_COMPILE_ON_ERROR: true
4953

5054
- name: Upload Playwright artifacts
5155
if: always()

playwright.config.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ import type {PlaywrightTestConfig} from '@playwright/test';
22
import {devices} from '@playwright/test';
33

44
const baseUrl = process.env.PLAYWRIGHT_BASE_URL;
5+
// In CI all env vars defined in workflow yml
6+
const runAppCommand = process.env.CI ? 'npm run start' : 'npm run dev';
57

68
const config: PlaywrightTestConfig = {
79
globalSetup: './tests/playwrightSetup.ts',
@@ -17,7 +19,7 @@ const config: PlaywrightTestConfig = {
1719
webServer: baseUrl
1820
? undefined
1921
: {
20-
command: 'npm run dev',
22+
command: runAppCommand,
2123
port: 3000,
2224
reuseExistingServer: true,
2325
},

0 commit comments

Comments
 (0)