forked from loafle/openapi-generator-original
[TS] fix CI failure by installing node v16 (#10649)
* install node v16 instead of latest stable * fix install * fix install * fix typo
This commit is contained in:
parent
c16562995b
commit
0a003c39b2
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user