File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 47
47
fail-fast : false
48
48
matrix :
49
49
version : ${{ fromJson(needs.setup.outputs.matrix) }}
50
- shard : [1, 2, 3, 4]
50
+ shard : [1, 2, 3, 4, 5 ]
51
51
52
52
steps :
53
53
- uses : actions/checkout@v4
95
95
echo "version=$RESOLVED_VERSION" >> $GITHUB_OUTPUT
96
96
echo "Resolved Next.js version for 'next@${{ matrix.version }}' is '$RESOLVED_VERSION'"
97
97
- name : Run Playwright tests
98
- run : npm run test:ci:e2e -- --shard=${{ matrix.shard }}/4
98
+ run : npm run test:ci:e2e -- --shard=${{ matrix.shard }}/5
99
99
env :
100
100
NETLIFY_AUTH_TOKEN : ${{ secrets.NETLIFY_TOKEN }}
101
101
NEXT_VERSION : ${{ matrix.version }}
@@ -239,9 +239,9 @@ jobs:
239
239
240
240
- name : Merge reports
241
241
run : |
242
- npx playwright merge-reports --reporter html ./all-blob-reports
242
+ npx playwright merge-reports --reporter html ./all-blob-reports
243
243
npx playwright merge-reports --reporter json ./all-blob-reports > merged_reports.json
244
-
244
+
245
245
- name : Notify Slack
246
246
if : github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' || github.head_ref == 'main'
247
247
run : npx playwright-slack-report -j merged_reports.json -c tests/playwright-slack-conf.json
Original file line number Diff line number Diff line change @@ -207,7 +207,7 @@ jobs:
207
207
path : ${{ env.next-path }}/test/test-junit-report/*.xml
208
208
publish-test-results :
209
209
name : ' E2E Test Summary (${{matrix.version}})'
210
- needs :
210
+ needs :
211
211
- e2e
212
212
- setup
213
213
runs-on : ubuntu-latest
@@ -257,7 +257,7 @@ jobs:
257
257
payload : ${{ steps.publish-test-results.outputs.slackEvent }}
258
258
259
259
- name : Publish test site
260
- if : (success() || failure()) && matrix.version == 'latest' && (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch')
260
+ if : (success() || failure()) && matrix.version == 'latest' && (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch')
261
261
run : |
262
262
deno run -A tools/deno/junit2html.ts artifacts ${{needs.e2e.outputs.tag}} > report/index.html
263
263
npx --yes netlify-cli@latest deploy --prod --cwd report
You can’t perform that action at this time.
0 commit comments