Skip to content

Commit ca440a7

Browse files
committed
ci: update github action pipeline by adding playwright tests
1 parent b712f5d commit ca440a7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/nodejs.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -97,11 +97,8 @@ jobs:
9797
node ./scripts/prepare-test-for-old-node.js
9898
if: matrix.node-version == '18.x'
9999

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

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

119+
- name: Run E2E tests for webpack version ${{ matrix.webpack-version }}
120+
run: npm run test:e2e --shard=${{ matrix.shard }}
121+
122122
- name: Submit coverage data to codecov
123123
uses: codecov/codecov-action@v4
124124
with:

0 commit comments

Comments
 (0)