Skip to content

Commit d0b3f1c

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

File tree

3 files changed

+5
-11
lines changed

3 files changed

+5
-11
lines changed

.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.55.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:

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"react-dom": "^18"
2727
},
2828
"devDependencies": {
29-
"@playwright/test": "^1.48.0",
29+
"@playwright/test": "1.55.0",
3030
"@types/node": "^20",
3131
"@types/react": "^18",
3232
"@types/react-dom": "^18",

0 commit comments

Comments
 (0)