Skip to content

Commit

Permalink
ci: replace playwright-github-action with `playwright install --wit…
Browse files Browse the repository at this point in the history
…h-deps` (#2812)
  • Loading branch information
B4nan authored Jan 29, 2025
1 parent 5308cbc commit b4894a4
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,6 @@ jobs:
with:
cache: 'yarn'

- name: Setup Playwright
uses: microsoft/playwright-github-action@v1

- name: Turbo cache
id: turbo-cache
uses: actions/cache@v4
Expand All @@ -74,7 +71,9 @@ jobs:
turbo-${{ github.job }}-${{ github.ref_name }}-
- name: Install Dependencies
run: yarn
run: |
yarn
yarn playwright install --with-deps
- name: Build
run: yarn ci:build
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@ jobs:
with:
cache: 'yarn'

- uses: microsoft/playwright-github-action@v1

- name: Turbo cache
id: turbo-cache
uses: actions/cache@v4
Expand All @@ -61,7 +59,9 @@ jobs:
turbo-${{ github.job }}-${{ matrix.node-version }}-${{ github.ref_name }}-
- name: Install Dependencies
run: yarn
run: |
yarn
yarn playwright install --with-deps
env:
YARN_IGNORE_NODE: 1

Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/test-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,6 @@ jobs:
with:
cache: 'yarn'

- uses: microsoft/playwright-github-action@v1
if: (matrix.storage != 'PLATFORM')

- name: Turbo cache
id: turbo-cache
uses: actions/cache@v4
Expand All @@ -62,6 +59,10 @@ jobs:
- name: Install Dependencies
run: yarn

- name: Install Playwright Dependencies
if: (matrix.storage != 'PLATFORM')
run: yarn playwright install --with-deps

- name: Build
run: yarn ci:build

Expand Down

0 comments on commit b4894a4

Please sign in to comment.