File tree 3 files changed +15
-2
lines changed
3 files changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ jobs:
150
150
- name : patch Next.js
151
151
run : |
152
152
cp ../${{ env.runtime-path }}/tests/netlify-deploy.ts test/lib/next-modes/
153
- git apply ../${{ env.runtime-path }}/tests/e2e-utils.patch
153
+ git apply ../${{ env.runtime-path }}/tests/e2e-utils.patch || git apply ../${{ env.runtime-path }}/tests/e2e-utils-v2.patch
154
154
working-directory : ${{ env.next-path }}
155
155
156
156
- name : install Next.js
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ export NEXT_TEST_MODE=deploy
15
15
export RUNTIME_DIR=$( pwd)
16
16
cp tests/netlify-deploy.ts ../next.js/test/lib/next-modes/netlify-deploy.ts
17
17
cd ../next.js/
18
- git apply ../next-runtime/tests/e2e-utils.patch
18
+ git apply ../next-runtime/tests/e2e-utils.patch || git apply ../next-runtime/tests/e2e-utils-v2.patch
19
19
node run-tests.js --type e2e --debug --test-pattern $1
20
20
git checkout -- test/lib/e2e-utils.ts
21
21
Original file line number Diff line number Diff line change
1
+ diff --git a/test/lib/e2e-utils/index.ts b/test/lib/e2e-utils/index.ts
2
+ index 06765e81d9..a7a5a9e4bd 100644
3
+ --- a/test/lib/e2e-utils/index.ts
4
+ +++ b/test/lib/e2e-utils/index.ts
5
+ @@ -5,7 +5,7 @@ import { PHASE_DEVELOPMENT_SERVER } from 'next/constants'
6
+ import { NextInstance, NextInstanceOpts } from '../next-modes/base'
7
+ import { NextDevInstance } from '../next-modes/next-dev'
8
+ import { NextStartInstance } from '../next-modes/next-start'
9
+ - import { NextDeployInstance } from '../next-modes/next-deploy'
10
+ + import { NextDeployInstance } from '../next-modes/netlify-deploy'
11
+ import { shouldRunTurboDevTest } from '../next-test-utils'
12
+
13
+ export type { NextInstance }
You can’t perform that action at this time.
0 commit comments