From 0a003c39b223eacb38fb317db34de93eea6ffb6e Mon Sep 17 00:00:00 2001 From: William Cheng Date: Thu, 21 Oct 2021 01:06:23 +0800 Subject: [PATCH] [TS] fix CI failure by installing node v16 (#10649) * install node v16 instead of latest stable * fix install * fix install * fix typo --- .circleci/config.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 46d709f9699..b1c5957943e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -51,8 +51,10 @@ jobs: curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash export NVM_DIR="/opt/circleci/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" - nvm install stable - nvm alias default stable + #nvm install stable + # install v16 instead of the latest stable version + nvm install 16 + nvm alias default 16 # Each step uses the same `$BASH_ENV`, so need to modify it echo 'export NVM_DIR="/opt/circleci/.nvm"' >> $BASH_ENV