Skip to content
This repository was archived by the owner on Aug 6, 2025. It is now read-only.

Commit 52e2bd0

Browse files
committed
ci: don't test old Playwright version on Node 16
1 parent 72f8fe2 commit 52e2bd0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,17 +55,24 @@ jobs:
5555
- name: Install dependencies
5656
run: yarn install --frozen-lockfile
5757

58+
# Old versions of Playwright (<= 1.1.0) fail on Node 16
59+
5860
- name: Install specific Playwright version
61+
if: ${{ !(matrix.node == '16' && matrix.playwright == '1.1.0') }}
5962
run: |
6063
yarn add -D ${{ matrix.playwright }}
6164
yarn why playwright
6265
6366
- name: Build
67+
if: ${{ !(matrix.node == '16' && matrix.playwright == '1.1.0') }}
6468
run: yarn rebuild
6569

6670
- name: Run lint + tests
71+
if: ${{ !(matrix.node == '16' && matrix.playwright == '1.1.0') }}
6772
run: yarn validate
6873

74+
# Only release on Node 14
75+
6976
- name: Upload Coverage / Release
7077
run: yarn ci-after-success
7178
if: ${{ matrix.node == '14' }}

0 commit comments

Comments
 (0)