From be48bae6a4d713e2a2ba41daeaeb3ca7978c9e14 Mon Sep 17 00:00:00 2001 From: Tim Neutkens Date: Tue, 19 Mar 2024 14:40:56 +0100 Subject: [PATCH] Ensure NEXT_TEST_MODE is set for production run (#63474) ## What? Missed this env var when adding the additional config. --- .github/workflows/build_and_test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index a75960bd20104b..ade4d953ee70ac 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -195,7 +195,7 @@ jobs: uses: ./.github/workflows/build_reusable.yml with: nodeVersion: 18.17.0 - afterBuild: RUST_BACKTRACE=0 NEXT_EXTERNAL_TESTS_FILTERS="$(pwd)/test/turbopack-build-tests-manifest.json" TURBOPACK=1 TURBOPACK_BUILD=1 node run-tests.js --timings -g ${{ matrix.group }} -c ${TEST_CONCURRENCY} --type production + afterBuild: RUST_BACKTRACE=0 NEXT_EXTERNAL_TESTS_FILTERS="$(pwd)/test/turbopack-build-tests-manifest.json" TURBOPACK=1 TURBOPACK_BUILD=1 NEXT_TEST_MODE=start node run-tests.js --timings -g ${{ matrix.group }} -c ${TEST_CONCURRENCY} --type production stepName: 'test-turbopack-production-${{ matrix.group }}' secrets: inherit