File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 6666 "test:all" : " run-s test:unit test:integration test:build" ,
6767 "test:build" : " yarn ts-node test/buildProcess/runTest.ts" ,
6868 "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)" ,
7272 "test:integration:clean" : " (cd test/integration && rimraf .cache node_modules build)" ,
7373 "test:integration:client" : " yarn playwright install-deps && yarn playwright test test/integration/test/client/" ,
7474 "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
106106 # next 10 defaults to webpack 4 and next 11 defaults to webpack 5, but each can use either based on settings
107107 if [ " $NEXTJS_VERSION " -eq " 10" ]; then
108108 sed " s/%RUN_WEBPACK_5%/$RUN_WEBPACK_5 /g" < next10.config.template > next.config.js
109- else
109+ elif [ " $NEXTJS_VERSION " -eq " 11 " ] ; then
110110 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
111113 fi
112114
113115 echo " [nextjs@$NEXTJS_VERSION | webpack@$WEBPACK_VERSION ] Building..."
You can’t perform that action at this time.
0 commit comments