Skip to content

Commit

Permalink
ci: run playwright tests directly in docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
joshblack authored Jul 13, 2023
1 parent e767145 commit b56b1d5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,6 @@ jobs:
run: |
npm ci
npm run build-storybook
- name: Install browsers
run: npx playwright install --with-deps
- name: Run storybook
id: storybook
run: |
Expand All @@ -72,7 +70,9 @@ jobs:
sleep 5
working-directory: docs/storybook
- name: Run Visual Regression Tests
run: npx playwright test --shard="${{ matrix.shard }}/${{ strategy.job-total }}"
uses: docker://mcr.microsoft.com/playwright:v1.34.3-jammy
with:
args: npx playwright test --shard="${{ matrix.shard }}/${{ strategy.job-total }}"
- name: Stop storybook
run: kill ${{ steps.storybook.outputs.pid }}
- name: Upload report
Expand Down

0 comments on commit b56b1d5

Please sign in to comment.