Skip to content

Commit c0a6455

Browse files
committed
run tests in playwright docker image to prevent ubuntu-latest updates from breaking the ci
1 parent 0310015 commit c0a6455

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/test and publish.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ permissions:
99
jobs:
1010
build-and-test:
1111
runs-on: ubuntu-latest
12+
container:
13+
image: mcr.microsoft.com/playwright:v1.43.1
14+
options: --user 1001
1215
steps:
1316
- uses: actions/checkout@v4
14-
- uses: actions/setup-node@v4
15-
with:
16-
node-version: 16.9.1
17-
- run: npm run setup
17+
- run: npm ci
1818
- run: npm run check
1919
- name: upload compiled code
2020
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)