Skip to content

Commit a1dd193

Browse files
committed
Refactor GitHub Actions workflow to streamline Playwright browser installation by using the Playwright installation script directly, enhancing the setup process for testing environments.
1 parent 907af21 commit a1dd193

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/workflows/deployment.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,7 @@ jobs:
4040
run: |
4141
npm install
4242
npm install --save-dev @web/[email protected] @web/[email protected] [email protected]
43-
# Install browsers after playwright is installed
44-
- name: Install Playwright browsers
45-
run: |
46-
npx playwright install
47-
npx playwright install-deps
43+
node node_modules/playwright/install.js
4844
- name: Run tests
4945
run: |
5046
npx web-test-runner test/*.test.js --coverage --node-resolve

0 commit comments

Comments
 (0)