Skip to content

Commit

Permalink
ci: use playwright container
Browse files Browse the repository at this point in the history
Signed-off-by: rare-magma <[email protected]>
  • Loading branch information
rare-magma committed Apr 25, 2024
1 parent 787c168 commit 19b0f1a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ jobs:
name: e2e
timeout-minutes: 10
runs-on: ubuntu-latest
container:
image: mcr.microsoft.com/playwright:v1.42.1-jammy
needs:
- test
steps:
Expand All @@ -54,11 +56,10 @@ jobs:
- name: Install dependencies
run: pnpm install

- name: Install Playwright Browsers
run: pnpm exec playwright install --with-deps

- name: Run Playwright tests
run: pnpm exec playwright test
env:
HOME: /root

- uses: actions/upload-artifact@v4
if: always()
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ jobs:
name: e2e
timeout-minutes: 10
runs-on: ubuntu-latest
container:
image: mcr.microsoft.com/playwright:v1.42.1-jammy
needs:
- test
steps:
Expand All @@ -55,11 +57,10 @@ jobs:
- name: Install dependencies
run: pnpm install

- name: Install Playwright Browsers
run: pnpm exec playwright install --with-deps

- name: Run Playwright tests
run: pnpm exec playwright test
env:
HOME: /root

- uses: actions/upload-artifact@v4
if: always()
Expand Down

0 comments on commit 19b0f1a

Please sign in to comment.