Skip to content

Commit 394668e

Browse files
authored
test-new-tests: enable adapter in deploy flow (#91269)
## Summary - export `NEXT_ENABLE_ADAPTER=1` in the `test-new-tests-deploy` workflow job - export `NEXT_ENABLE_ADAPTER=1` in the `test-new-tests-deploy-cache-components` workflow job ## Testing - `git diff --check`
1 parent 7fc7f1a commit 394668e

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/build_and_test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -780,7 +780,9 @@ jobs:
780780

781781
uses: ./.github/workflows/build_reusable.yml
782782
with:
783+
# Keep Next.js related env variables in sync with additionalEnv in next-deploy.ts
783784
afterBuild: |
785+
export NEXT_ENABLE_ADAPTER=1
784786
export NEXT_E2E_TEST_TIMEOUT=240000
785787
export __NEXT_EXPERIMENTAL_STRICT_ROUTE_TYPES=true
786788
node scripts/test-new-tests.mjs \
@@ -815,6 +817,7 @@ jobs:
815817
export __NEXT_CACHE_COMPONENTS=true
816818
export __NEXT_EXPERIMENTAL_CACHED_NAVIGATIONS=true
817819
export __NEXT_EXPERIMENTAL_APP_NEW_SCROLL_HANDLER=true
820+
export NEXT_ENABLE_ADAPTER=1
818821
export NEXT_EXTERNAL_TESTS_FILTERS="test/deploy-tests-manifest.json,test/cache-components-tests-manifest.json"
819822
export NEXT_E2E_TEST_TIMEOUT=240000
820823
node scripts/test-new-tests.mjs \

0 commit comments

Comments
 (0)