Unverified Commit 394668e3 authored by JJ Kasper's avatar JJ Kasper Committed by GitHub

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`
parent 7fc7f1ae
...@@ -780,7 +780,9 @@ jobs: ...@@ -780,7 +780,9 @@ jobs:
uses: ./.github/workflows/build_reusable.yml uses: ./.github/workflows/build_reusable.yml
with: with:
# Keep Next.js related env variables in sync with additionalEnv in next-deploy.ts
afterBuild: | afterBuild: |
export NEXT_ENABLE_ADAPTER=1
export NEXT_E2E_TEST_TIMEOUT=240000 export NEXT_E2E_TEST_TIMEOUT=240000
export __NEXT_EXPERIMENTAL_STRICT_ROUTE_TYPES=true export __NEXT_EXPERIMENTAL_STRICT_ROUTE_TYPES=true
node scripts/test-new-tests.mjs \ node scripts/test-new-tests.mjs \
...@@ -815,6 +817,7 @@ jobs: ...@@ -815,6 +817,7 @@ jobs:
export __NEXT_CACHE_COMPONENTS=true export __NEXT_CACHE_COMPONENTS=true
export __NEXT_EXPERIMENTAL_CACHED_NAVIGATIONS=true export __NEXT_EXPERIMENTAL_CACHED_NAVIGATIONS=true
export __NEXT_EXPERIMENTAL_APP_NEW_SCROLL_HANDLER=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_EXTERNAL_TESTS_FILTERS="test/deploy-tests-manifest.json,test/cache-components-tests-manifest.json"
export NEXT_E2E_TEST_TIMEOUT=240000 export NEXT_E2E_TEST_TIMEOUT=240000
node scripts/test-new-tests.mjs \ node scripts/test-new-tests.mjs \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment