File tree 1 file changed +10
-6
lines changed
1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -133,13 +133,17 @@ for NEXTJS_VERSION in 10 11 12 13; do
133
133
exit 1
134
134
fi
135
135
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 ] Skipping client tests on Node $NODE_MAJOR "
140
138
else
141
- echo " [nextjs@$NEXTJS_VERSION | webpack@$WEBPACK_VERSION ] Client integration tests failed"
142
- exit 1
139
+ echo " [nextjs@$NEXTJS_VERSION | webpack@$WEBPACK_VERSION ] Running client tests with options: $args "
140
+ (cd .. && yarn test:integration:client) || EXIT_CODE=$?
141
+ if [ $EXIT_CODE -eq 0 ]; then
142
+ echo " [nextjs@$NEXTJS_VERSION | webpack@$WEBPACK_VERSION ] Client integration tests passed"
143
+ else
144
+ echo " [nextjs@$NEXTJS_VERSION | webpack@$WEBPACK_VERSION ] Client integration tests failed"
145
+ exit 1
146
+ fi
143
147
fi
144
148
done
145
149
done
You can’t perform that action at this time.
0 commit comments