There was an error while loading. Please reload this page.
1 parent 3b695f0 commit 95aa5d0Copy full SHA for 95aa5d0
.github/workflows/playwright.yml
@@ -27,7 +27,7 @@ jobs:
27
- name: Install node js v18
28
uses: actions/setup-node@v2
29
with:
30
- node-version: '18'
+ node-version: '20'
31
32
# Step to install Node.js dependencies
33
- name: Install dependencies
@@ -37,6 +37,8 @@ jobs:
37
- name: Install Chrome browser for Playwright
38
run: npx playwright install chrome
39
40
- # Step to run tests
+ # Step to run tests with qa as environment variable similarly we can define qa|dev|qaApi|devApi
41
- name: Run tests
42
- run: npm run -e npm_config_ENV=qa test:serial
+ run: npm run test:serial
43
+ env:
44
+ npm_config_ENV: "qa"
0 commit comments