Skip to content

Commit

Permalink
install playwright first
Browse files Browse the repository at this point in the history
  • Loading branch information
M-Kusumgar committed Dec 3, 2024
1 parent 7cf5ebb commit b68a5a8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build-test-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ jobs:
shard: [1, 2, 3, 4, 5, 6]
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/build-and-run-wodin

- name: Get installed Playwright version
run: echo "PLAYWRIGHT_VERSION=$(node -e "console.log(require('./app/static/package-lock.json').packages['node_modules/@playwright/test'].version)")" >> $GITHUB_ENV
Expand All @@ -93,8 +92,10 @@ jobs:
if: steps.playwright-cache.outputs.cache-hit != 'true'
run: npx playwright install --with-deps

- uses: ./.github/actions/build-and-run-wodin

- name: Test e2e
run: npm run test:e2e --prefix=app/static -- --shard=${{ matrix.shard }}/6
run: npm run test:e2e --prefix=app/static -- --shard=${{ matrix.shard }}/6

lint:
runs-on: ubuntu-latest
Expand Down

0 comments on commit b68a5a8

Please sign in to comment.