Skip to content

Commit af88523

Browse files
committed
[test] Run Cache Components tests with Turbopack
1 parent aba8a9f commit af88523

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/build_and_test.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -704,6 +704,7 @@ jobs:
704704
export __NEXT_CACHE_COMPONENTS=true
705705
export __NEXT_EXPERIMENTAL_DEBUG_CHANNEL=true
706706
export NEXT_EXTERNAL_TESTS_FILTERS="test/cache-components-tests-manifest.json"
707+
export IS_WEBPACK_TEST=1
707708
export NEXT_E2E_TEST_TIMEOUT=240000
708709
export GH_PR_NUMBER=${{ github.event.pull_request && github.event.pull_request.number || '' }}
709710
node scripts/test-new-tests.mjs \
@@ -935,7 +936,7 @@ jobs:
935936
export __NEXT_CACHE_COMPONENTS=true
936937
export __NEXT_EXPERIMENTAL_DEBUG_CHANNEL=true
937938
export NEXT_EXTERNAL_TESTS_FILTERS="test/cache-components-tests-manifest.json"
938-
export IS_WEBPACK_TEST=1
939+
export IS_TURBOPACK_TEST=1
939940
940941
node run-tests.js \
941942
--timings \
@@ -959,7 +960,7 @@ jobs:
959960
export __NEXT_EXPERIMENTAL_DEBUG_CHANNEL=true
960961
export NEXT_EXTERNAL_TESTS_FILTERS="test/cache-components-tests-manifest.json"
961962
export NEXT_TEST_MODE=dev
962-
export IS_WEBPACK_TEST=1
963+
export IS_TURBOPACK_TEST=1
963964
964965
node run-tests.js \
965966
--timings \
@@ -984,7 +985,7 @@ jobs:
984985
export __NEXT_EXPERIMENTAL_DEBUG_CHANNEL=true
985986
export NEXT_EXTERNAL_TESTS_FILTERS="test/cache-components-tests-manifest.json"
986987
export NEXT_TEST_MODE=start
987-
export IS_WEBPACK_TEST=1
988+
export IS_TURBOPACK_TEST=1
988989
989990
node run-tests.js \
990991
--timings \

test/cache-components-tests-manifest.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,8 +338,11 @@
338338
"test/integration/app-types/app-types.test.ts",
339339
"test/production/app-dir-edge-runtime-with-wasm/index.test.ts",
340340
"test/production/app-dir-prevent-304-caching/index.test.ts",
341+
"test/production/app-dir/actions-tree-shaking/basic/basic-edge.test.ts",
342+
"test/production/app-dir/actions-tree-shaking/mixed-module-actions/mixed-module-actions-edge.test.ts",
341343
"test/production/app-dir/actions-tree-shaking/reexport/reexport-edge.test.ts",
342344
"test/production/app-dir/actions-tree-shaking/reexport/reexport.test.ts",
345+
"test/production/app-dir/actions-tree-shaking/shared-module-actions/shared-module-actions-edge.test.ts",
343346
"test/production/app-dir/actions-tree-shaking/use-effect-actions/use-effect-actions-edge.test.ts",
344347
"test/production/app-dir/app-fetch-build-cache/app-fetch-build-cache.test.ts",
345348
"test/production/app-dir/build-output-tree-view/build-output-tree-view.test.ts",

0 commit comments

Comments
 (0)