Skip to content

Commit 95aa5d0

Browse files
committed
GithubActionsChanges
1 parent 3b695f0 commit 95aa5d0

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/playwright.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Install node js v18
2828
uses: actions/setup-node@v2
2929
with:
30-
node-version: '18'
30+
node-version: '20'
3131

3232
# Step to install Node.js dependencies
3333
- name: Install dependencies
@@ -37,6 +37,8 @@ jobs:
3737
- name: Install Chrome browser for Playwright
3838
run: npx playwright install chrome
3939

40-
# Step to run tests
40+
# Step to run tests with qa as environment variable similarly we can define qa|dev|qaApi|devApi
4141
- name: Run tests
42-
run: npm run -e npm_config_ENV=qa test:serial
42+
run: npm run test:serial
43+
env:
44+
npm_config_ENV: "qa"

0 commit comments

Comments
 (0)