Skip to content

Commit

Permalink
To be sure that the browser is correctly installed in the GH: microso…
Browse files Browse the repository at this point in the history
  • Loading branch information
csouchet committed Dec 17, 2021
1 parent e3a3da9 commit 5a9a2e8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,11 @@ jobs:
- name: Build bundles
run: npm run build-bundles
# install OS dependencies required by browsers on the GitHub runner
# to be sure that the browser is correctly installed: https://github.com/microsoft/playwright/issues/5801
- name: Install the dependencies for all browsers
run: npx playwright install-deps
run: |
npx playwright install
npx playwright install-deps
- name: Test bundles
id: 'test_bundles'
run: npm run test:bundles
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/test-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,11 @@ jobs:
- name: Install dependencies
run: npm ci
# install OS dependencies required by browsers on the GitHub runner
# to be sure that the browser is correctly installed: https://github.com/microsoft/playwright/issues/5801
- name: Install the dependencies for ${{matrix.browser}} only
run: npx playwright install-deps ${{matrix.browser}}
run: |
npx playwright install ${{matrix.browser}}
npx playwright install-deps ${{matrix.browser}}
- name: Test Application End to End
id: 'test_e2e'
env:
Expand Down

0 comments on commit 5a9a2e8

Please sign in to comment.