Skip to content

Commit 2bdb978

Browse files
committed
Add global dependency installation for web-test-runner in GitHub Actions workflow. This ensures the necessary testing tools are available before executing tests, enhancing the testing setup and consistency across environments.
1 parent 3b3f98b commit 2bdb978

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/deployment.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ jobs:
3333
${{ runner.os }}-node-
3434
- name: Install dependencies
3535
run: npm ci
36+
- name: Install global dependencies
37+
run: |
38+
npm install -g @web/test-runner
39+
npm install -g @web/test-runner-playwright
3640
- name: Install Playwright browsers
3741
run: npx playwright install --with-deps
3842
- name: Run tests
@@ -54,6 +58,10 @@ jobs:
5458
${{ runner.os }}-node-
5559
- name: Install dependencies
5660
run: npm ci
61+
- name: Install global dependencies
62+
run: |
63+
npm install -g @web/test-runner
64+
npm install -g @web/test-runner-playwright
5765
- name: Install Playwright browsers
5866
run: npx playwright install --with-deps
5967
- name: Run tests

0 commit comments

Comments
 (0)