File tree 2 files changed +6
-4
lines changed
2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 66
66
"test:all" : " run-s test:unit test:integration test:build" ,
67
67
"test:build" : " yarn ts-node test/buildProcess/runTest.ts" ,
68
68
"test:unit" : " jest" ,
69
- "test:integration" : " test/run-integration-tests.sh && yarn test:types" ,
70
- "test:integration:ci" : " run-s test:integration:clean test:integration:prepare test:integration: client:ci test:integration:server" ,
71
- "test:integration:prepare" : " (cd test/integration && yarn && yarn build && yarn start)" ,
69
+ "test:integration" : " ./ test/run-integration-tests.sh && yarn test:types" ,
70
+ "test:integration:ci" : " run-s test:integration:clean test:integration:client:ci test:integration:server" ,
71
+ "test:integration:prepare" : " (cd test/integration && yarn build && yarn start)" ,
72
72
"test:integration:clean" : " (cd test/integration && rimraf .cache node_modules build)" ,
73
73
"test:integration:client" : " yarn playwright install-deps && yarn playwright test test/integration/test/client/" ,
74
74
"test:integration:client:ci" : " yarn test:integration:client --browser='all' --reporter='line'" ,
Original file line number Diff line number Diff line change @@ -106,8 +106,10 @@ for NEXTJS_VERSION in 10 11 12 13; do
106
106
# next 10 defaults to webpack 4 and next 11 defaults to webpack 5, but each can use either based on settings
107
107
if [ " $NEXTJS_VERSION " -eq " 10" ]; then
108
108
sed " s/%RUN_WEBPACK_5%/$RUN_WEBPACK_5 /g" < next10.config.template > next.config.js
109
- else
109
+ elif [ " $NEXTJS_VERSION " -eq " 11 " ] ; then
110
110
sed " s/%RUN_WEBPACK_5%/$RUN_WEBPACK_5 /g" < next11.config.template > next.config.js
111
+ else
112
+ mv next.config.js.bak next.config.js || true
111
113
fi
112
114
113
115
echo " [nextjs@$NEXTJS_VERSION | webpack@$WEBPACK_VERSION ] Building..."
You can’t perform that action at this time.
0 commit comments