Skip to content

Commit 01651dc

Browse files
authored
ci: fix next.js repo tests workflow for 13.5.1 (#2671)
The latest Ubuntu (24.04) doesn't work out of the box with older versions of playwright. next@latest and next@canary have been updated: vercel/next.js#71312. 13.5.1 has not been
1 parent 68910b0 commit 01651dc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/test-e2e.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,8 @@ jobs:
9393
9494
e2e:
9595
needs: setup
96-
runs-on: ubuntu-latest
96+
# `playwright install` fails on Ubuntu 24.04+ with older versions of playwright (which 13.5.1 has)
97+
runs-on: "${{ matrix.version_spec.selector == '13.5.1' && 'ubuntu-22.04' || 'ubuntu-latest' }}"
9798
name: Test next@${{ matrix.version_spec.selector }} group ${{ matrix.group }}/${{ needs.setup.outputs.total }}
9899
timeout-minutes: 120
99100
strategy:

0 commit comments

Comments
 (0)