From 5cd0655d0b3dabb7845956a914504458beb771c3 Mon Sep 17 00:00:00 2001 From: Jonathon Herbert Date: Wed, 28 Feb 2024 18:08:23 +0000 Subject: [PATCH] Use old node for JSPM, new node for Vite --- .nvmrc | 2 +- fronts-client/.nvmrc | 1 + scripts/ci.sh | 3 +-- 3 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 fronts-client/.nvmrc diff --git a/.nvmrc b/.nvmrc index 8ddbc0c64a7..62df50f1eef 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v18.16.0 +14.17.0 diff --git a/fronts-client/.nvmrc b/fronts-client/.nvmrc new file mode 100644 index 00000000000..f3f52b42d3d --- /dev/null +++ b/fronts-client/.nvmrc @@ -0,0 +1 @@ +20.9.0 diff --git a/scripts/ci.sh b/scripts/ci.sh index 218486bec2b..670c8d2f49b 100755 --- a/scripts/ci.sh +++ b/scripts/ci.sh @@ -5,7 +5,6 @@ set -e setupNvm() { export NVM_DIR="$HOME/.nvm" [[ -s "$NVM_DIR/nvm.sh" ]] && . "$NVM_DIR/nvm.sh" # This loads nvm - nvm install nvm use } @@ -27,7 +26,7 @@ javascriptV1() { javascriptV2() { pushd fronts-client - + setupNvm yarn install yarn lint yarn test