Skip to content

Commit 297028b

Browse files
committed
ci: remove update-snapshot step
1 parent 2194b0e commit 297028b

File tree

1 file changed

+1
-25
lines changed

1 file changed

+1
-25
lines changed

.github/workflows/nodejs.yml

+1-25
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,6 @@ on:
1212
- next
1313
- v4
1414

15-
workflow_call:
16-
inputs:
17-
update-snapshots:
18-
description: "Update snapshots?"
19-
type: boolean
20-
21-
workflow_dispatch:
22-
inputs:
23-
update-snapshots:
24-
description: "Update snapshots?"
25-
type: boolean
26-
2715
permissions:
2816
contents: read
2917

@@ -129,20 +117,8 @@ jobs:
129117
- name: Install Playwright browsers and dependencies
130118
run: npx playwright install --with-deps
131119

132-
- name: Set up cache
133-
id: cache
134-
uses: actions/cache@v4
135-
with:
136-
key: cache/${{github.repository}}/${{github.ref}}
137-
restore-keys: cache/${{github.repository}}/refs/heads/master
138-
path: .test/**
139-
140-
- name: Initialize snapshots
141-
if: ${{steps.cache.outputs.cache-hit != 'true' || inputs.update-snapshots == 'true'}}
142-
run: npx playwright test --update-snapshots
143-
144120
- name: Run E2E tests for webpack version ${{ matrix.webpack-version }}
145-
run: npm run test:e2e
121+
run: npm run test:e2e -- --shard=${{ matrix.shard }}
146122

147123
- name: Submit coverage data to codecov
148124
uses: codecov/codecov-action@v4

0 commit comments

Comments
 (0)