Skip to content

Commit

Permalink
ci: update github action pipeline by adding playwright tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mahdikhashan committed Jul 2, 2024
1 parent b712f5d commit ca440a7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,8 @@ jobs:
node ./scripts/prepare-test-for-old-node.js
if: matrix.node-version == '18.x'

- name: Setup firefox
if: matrix.os != 'windows-latest'
uses: browser-actions/setup-firefox@latest
with:
firefox-version: latest
- name: Install Playwright browsers and dependencies
run: npx playwright install --with-deps

- name: Link webpack-dev-server
run: |
Expand All @@ -119,6 +116,9 @@ jobs:
run: npm run test:coverage -- --ci --shard=${{ matrix.shard }}
if: matrix.node-version != '18.x'

- name: Run E2E tests for webpack version ${{ matrix.webpack-version }}
run: npm run test:e2e --shard=${{ matrix.shard }}

- name: Submit coverage data to codecov
uses: codecov/codecov-action@v4
with:
Expand Down

0 comments on commit ca440a7

Please sign in to comment.