File tree 1 file changed +1
-25
lines changed
1 file changed +1
-25
lines changed Original file line number Diff line number Diff line change 12
12
- next
13
13
- v4
14
14
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
-
27
15
permissions :
28
16
contents : read
29
17
@@ -129,20 +117,8 @@ jobs:
129
117
- name : Install Playwright browsers and dependencies
130
118
run : npx playwright install --with-deps
131
119
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
-
144
120
- 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 }}
146
122
147
123
- name : Submit coverage data to codecov
148
124
uses : codecov/codecov-action@v4
You can’t perform that action at this time.
0 commit comments