Skip to content

Commit 8c45a01

Browse files
authored
Merge pull request #21 from rameel/playwright-dockerize
Switch Playwright CI to Docker for faster setup
2 parents 69192f9 + a8386e8 commit 8c45a01

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ indent_size = 4
77
insert_final_newline = true
88
trim_trailing_whitespace = true
99

10-
[*.{json,html}]
10+
[*.{json,html,yml}]
1111
indent_size = 2

.github/workflows/test.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,21 @@ jobs:
88
main:
99
name: "Build & Test"
1010
runs-on: ubuntu-latest
11+
container:
12+
image: mcr.microsoft.com/playwright:v1.55.0-noble
13+
options: --user 1001:1001 # Run as non-root user for security
1114

1215
steps:
1316
- name: Setup Node.js
1417
uses: actions/setup-node@v4
1518
with:
16-
node-version: "20"
19+
node-version: "24"
1720

1821
- name: Checkout
1922
uses: actions/checkout@v4
2023

2124
- name: Install Dependencies
22-
run: npm i
23-
24-
- name: Install Playwright
25-
run: npx playwright install --with-deps
25+
run: npm ci
2626

2727
- name: Build (Debug version)
2828
run: npm run build:debug

0 commit comments

Comments
 (0)