Skip to content

Commit 869bb3a

Browse files
committed
change node setup location
1 parent 9afb19d commit 869bb3a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

shared-scripts.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -275,8 +275,6 @@ function _setupE2ETestsWindows {
275275
}
276276

277277
function _setupGen2E2ETestsLinux {
278-
echo "Setup Node Version"
279-
_setupNodeVersionLinux $AMPLIFY_NODE_VERSION
280278
echo "Setup Gen2 E2E Tests Linux"
281279
loadCacheFromLinuxBuildJob
282280
loadCache verdaccio-cache $CODEBUILD_SRC_DIR/../verdaccio-cache
@@ -285,8 +283,6 @@ function _setupGen2E2ETestsLinux {
285283
}
286284

287285
function _setupGen2E2ETestsWindows {
288-
echo "Setup Node Version"
289-
_setupNodeVersionWindows $AMPLIFY_NODE_VERSION
290286
echo "Setup Gen2 E2E Tests Windows"
291287
loadCacheFromWindowsBuildJob
292288
loadCache verdaccio-cache $CODEBUILD_SRC_DIR/../verdaccio-cache windows
@@ -306,11 +302,15 @@ function _runE2ETestsWindows {
306302

307303
function _runGen2E2ETestsLinux {
308304
echo "RUN Gen2 E2E Tests Linux"
305+
echo "Setup Node Version"
306+
_setupNodeVersionLinux $AMPLIFY_NODE_VERSION
309307
retry runGen2E2eTest
310308
}
311309

312310
function _runGen2E2ETestsWindows {
313311
echo "RUN Gen2 E2E Tests Windows"
312+
echo "Setup Node Version"
313+
_setupNodeVersionWindows $AMPLIFY_NODE_VERSION
314314
retry runGen2E2eTest
315315
}
316316

0 commit comments

Comments
 (0)