File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -133,12 +133,17 @@ for NEXTJS_VERSION in 10 11 12 13; do
133133 exit 1
134134 fi
135135
136- echo " [nextjs@$NEXTJS_VERSION | webpack@$WEBPACK_VERSION ] Running client tests with options: $args "
137- (cd .. && yarn test:integration:client) || EXIT_CODE=$?
138- if [ $EXIT_CODE -eq 0 ]; then
139- echo " [nextjs@$NEXTJS_VERSION | webpack@$WEBPACK_VERSION ] Client integration tests passed"
136+ if [ " $NODE_MAJOR " -lt " 14" ]; then
137+ echo " [nextjs@$NEXTJS_VERSION | webpack@$WEBPACK_VERSION ] Running client tests with options: $args "
138+ (cd .. && yarn test:integration:client) || EXIT_CODE=$?
139+ if [ $EXIT_CODE -eq 0 ]; then
140+ echo " [nextjs@$NEXTJS_VERSION | webpack@$WEBPACK_VERSION ] Client integration tests passed"
141+ else
142+ echo " [nextjs@$NEXTJS_VERSION | webpack@$WEBPACK_VERSION ] Client integration tests failed"
143+ exit 1
144+ fi
140145 else
141- echo " [nextjs@$NEXTJS_VERSION | webpack@$WEBPACK_VERSION ] Client integration tests failed "
146+ echo " [nextjs@$NEXTJS_VERSION | webpack@$WEBPACK_VERSION ] Skipping client tests on Node $NODE_MAJOR "
142147 exit 1
143148 fi
144149 done
You can’t perform that action at this time.
0 commit comments