Skip to content

Commit cfd5e07

Browse files
committed
Try and run on a playwright image
1 parent c3d478c commit cfd5e07

1 file changed

Lines changed: 3 additions & 9 deletions

File tree

.github/workflows/playwright.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,16 @@ jobs:
1010
test:
1111
timeout-minutes: 60
1212
runs-on: ubuntu-latest
13+
container:
14+
image: mcr.microsoft.com/playwright:v1.48.0-jammy
15+
options: --user 1001
1316

1417
steps:
1518
- uses: actions/checkout@v4
1619

17-
- name: Setup Node.js
18-
uses: actions/setup-node@v4
19-
with:
20-
node-version: 20
21-
cache: "npm"
22-
2320
- name: Install dependencies
2421
run: npm ci
2522

26-
- name: Install Playwright Browsers
27-
run: npx playwright install --only-shell chromium --with-deps
28-
2923
- name: Build Next.js application
3024
run: npm run build
3125
env:

0 commit comments

Comments
 (0)