Skip to content

Commit

Permalink
Use nvm in check_release environment
Browse files Browse the repository at this point in the history
  • Loading branch information
naglepuff committed Jan 21, 2025
1 parent fee1ebc commit ec069cb
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,15 @@ jobs:
- run:
name: Install python packages
command: pip install setuptools_scm twine
- run:
name: Use nvm
# see https://discuss.circleci.com/t/nvm-does-not-change-node-version-on-machine/28973/14
command: |
echo 'export NVM_DIR="/opt/circleci/.nvm"' >> $BASH_ENV
echo '[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"' >> $BASH_ENV
- restore_cache:
name: Restore nvm cache
key: v1-nvm-cache-<< parameters.node >>
- run:
name: Switch node versions
command: |
Expand Down

0 comments on commit ec069cb

Please sign in to comment.