try using official playwright container for e2e testing
This commit is contained in:
@@ -40,6 +40,8 @@ jobs:
|
|||||||
|
|
||||||
e2e:
|
e2e:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
container:
|
||||||
|
image: mcr.microsoft.com/playwright:v1.58.2-noble
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
|
|
||||||
@@ -52,9 +54,6 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm ci
|
run: npm ci
|
||||||
|
|
||||||
- name: Install Playwright browsers
|
|
||||||
run: npx playwright install --with-deps chromium
|
|
||||||
|
|
||||||
- name: Generate dev cert
|
- name: Generate dev cert
|
||||||
run: ./scripts/gen-dev-cert.sh
|
run: ./scripts/gen-dev-cert.sh
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user