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`
This commit is contained in:
JJ Kasper
2026-03-12 10:19:51 -07:00
committed by GitHub
parent 7fc7f1aed6
commit 394668e31e
+3
View File
@@ -780,7 +780,9 @@ jobs:
uses: ./.github/workflows/build_reusable.yml
with:
# Keep Next.js related env variables in sync with additionalEnv in next-deploy.ts
afterBuild: |
export NEXT_ENABLE_ADAPTER=1
export NEXT_E2E_TEST_TIMEOUT=240000
export __NEXT_EXPERIMENTAL_STRICT_ROUTE_TYPES=true
node scripts/test-new-tests.mjs \
@@ -815,6 +817,7 @@ jobs:
export __NEXT_CACHE_COMPONENTS=true
export __NEXT_EXPERIMENTAL_CACHED_NAVIGATIONS=true
export __NEXT_EXPERIMENTAL_APP_NEW_SCROLL_HANDLER=true
export NEXT_ENABLE_ADAPTER=1
export NEXT_EXTERNAL_TESTS_FILTERS="test/deploy-tests-manifest.json,test/cache-components-tests-manifest.json"
export NEXT_E2E_TEST_TIMEOUT=240000
node scripts/test-new-tests.mjs \