Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit a90d2e5

Browse files
authored
fix: support revalidateTag SWR in 'use cache' handler (#3180)
1 parent a4576af commit a90d2e5

File tree

22 files changed

+1198
-38
lines changed

22 files changed

+1198
-38
lines changed

‎.github/workflows/test-e2e.yml‎

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ on:
55
pull_request:
66
branches: [main]
77
schedule:
8-
- cron: '0 3 * * *' # Run every day at 3am UTC
8+
- cron: "0 3 * * *" # Run every day at 3am UTC
99
workflow_dispatch:
1010
inputs:
1111
versions:
12-
description: 'The versions of Next.js to test against (escape-quoted and comma separated)'
12+
description: "The versions of Next.js to test against (escape-quoted and comma separated)"
1313
required: false
1414
# TODO(serhalp) Ideally this would simply accept bare quotes but we're having trouble
1515
# parsing that so this will do for now.
@@ -52,7 +52,6 @@ jobs:
5252
group: ${{ steps.set-matrix.outputs.group }}
5353
total: ${{ steps.set-matrix.outputs.total }}
5454
steps:
55-
5655
- name: Set Next.js versions to test
5756
id: set-matrix
5857
run: |
@@ -240,7 +239,7 @@ jobs:
240239
IS_WEBPACK_TEST: ${{ steps.decide-default-bundler.outputs.default_bundler == 'webpack' && '1' || '' }}
241240
IS_TURBOPACK_TEST: ${{ steps.decide-default-bundler.outputs.default_bundler == 'turbopack' && '1' || '' }}
242241
NODE_OPTIONS: --import ${{ github.workspace }}/${{ env.runtime-path}}/tools/fetch-retry.mjs
243-
run: node run-tests.js -g ${{ matrix.group }}/${{ needs.setup.outputs.total }} -c ${TEST_CONCURRENCY} --type e2e
242+
run: node run-tests.js -g ${{ matrix.group }}/${{ needs.setup.outputs.total }} -c ${TEST_CONCURRENCY} --type e2e --retries 5
244243
working-directory: ${{ env.next-path }}
245244

246245
- name: Upload Test Results
@@ -250,7 +249,7 @@ jobs:
250249
name: test-result-${{matrix.version_spec.selector}}-${{ matrix.group }}
251250
path: ${{ env.next-path }}/test/${{steps.decide-default-bundler.outputs.default_bundler == 'turbopack' && 'turbopack-test-junit-report' || 'test-junit-report'}}/*.xml
252251
publish-test-results:
253-
name: 'E2E Test Summary (${{matrix.version_spec.selector}})'
252+
name: "E2E Test Summary (${{matrix.version_spec.selector}})"
254253
needs:
255254
- e2e
256255
- setup

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /