Skip to content

Commit

Permalink
ci(playwright): added browser installation
Browse files Browse the repository at this point in the history
  • Loading branch information
ThornWalli committed Sep 14, 2023
1 parent e69cc9a commit 4b480eb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,15 @@ jobs:
~/.cache/ms-playwright/
~\AppData\Local\ms-playwright\
key: ${{ matrix.os }}-node-v${{ matrix.node }}-deps-${{ hashFiles(format('{0}{1}', github.workspace, '/package-lock.json')) }}

- name: Install Dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: npm ci

- name: Install Playwright
if: steps.cache.outputs.cache-hit != 'true'
run: npx playwright install --with-deps

- name: Lint
run: npm run lint

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ jobs:
if: steps.cache.outputs.cache-hit != 'true'
run: npm ci

- name: Install Playwright
if: steps.cache.outputs.cache-hit != 'true'
run: npx playwright install --with-deps

- name: Lint
run: npm run lint

Expand Down

0 comments on commit 4b480eb

Please sign in to comment.