Skip to content

Commit f5f1260

Browse files
committed
Update GitHub Actions workflow to install Playwright version 1.25.2 globally and modify test execution command to use web-test-runner for improved coverage and node resolution. This enhances the testing process and ensures compatibility with the specified Playwright version.
1 parent eec6a85 commit f5f1260

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/deployment.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,15 @@ jobs:
3939
- name: Install dependencies
4040
run: |
4141
npm install
42-
npm install -g playwright
42+
npm install -g playwright@1.25.2
4343
# Install browsers after playwright is installed globally
4444
- name: Install Playwright browsers
4545
run: |
4646
playwright install
4747
playwright install-deps
4848
- name: Run tests
49-
run: npm test
49+
run: |
50+
npx web-test-runner test/*.test.js --coverage --node-resolve
5051
test_win:
5152
name: "Windows"
5253
runs-on: windows-latest

0 commit comments

Comments
 (0)