Skip to content

Commit 5c5f37b

Browse files
committed
Update GitHub Actions workflow to install test dependencies, including @playwright/test and @web/test-runner-playwright, and remove global installation of @web/test-runner.
1 parent 8e7f729 commit 5c5f37b

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/deployment.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,10 @@ jobs:
2929
run: |
3030
npm install -g [email protected]
3131
npm ci
32-
- name: Install Playwright
32+
- name: Install test dependencies
3333
run: |
34-
npm install -D @playwright/test
34+
npm install -D @playwright/test @web/test-runner-playwright
3535
npx playwright install --with-deps chromium firefox webkit
36-
npm install -g @web/test-runner
3736
- name: Run tests
3837
run: npm test
3938
test_win:
@@ -49,11 +48,10 @@ jobs:
4948
run: |
5049
npm install -g [email protected]
5150
npm ci
52-
- name: Install Playwright
51+
- name: Install test dependencies
5352
run: |
54-
npm install -D @playwright/test
53+
npm install -D @playwright/test @web/test-runner-playwright
5554
npx playwright install --with-deps chromium firefox webkit
56-
npm install -g @web/test-runner
5755
- name: Run tests
5856
run: npm test
5957
tag:

0 commit comments

Comments
 (0)