Skip to content

Commit 55591e0

Browse files
committed
Refactor Playwright workflow to streamline dependency installation
- Updated the GitHub Actions workflow to install dependencies using a single npm command. - Modified the Playwright browser installation command to explicitly install Chromium with dependencies.
1 parent 5d7487f commit 55591e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/playwright.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ jobs:
1414
with:
1515
node-version: lts/*
1616
- name: Install dependencies
17-
run: npm run install-dependencies
17+
run: npm install && npm run install-dependencies
1818
- name: Install Playwright Browsers
19-
run: npm exec playwright install --with-deps chromium
19+
run: npm exec playwright install chromium --with-deps
2020
- name: Run Playwright tests
2121
run: npm run e2e-tests
2222
- uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)