Skip to content

Commit

Permalink
Another attempt to unvex CircleCI Node config
Browse files Browse the repository at this point in the history
  • Loading branch information
mikesname committed Oct 10, 2024
1 parent d75361e commit 0ed1e4f
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
TERM: dumb
SMTP_PORT: 2500
SBT_VERSION: 1.10.1
NVM_DIR: /usr/local/nvm

steps:
- checkout
Expand All @@ -28,8 +29,14 @@ jobs:
sudo dpkg -i sbt-$SBT_VERSION.deb
sudo rm sbt-$SBT_VERSION.deb
- node/install:
node-version: '18.12.0'
- run:
name: Install NVM and Node
command: |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
nvm install 18.12.0
nvm use 18.12.0
echo 'export PATH=$NVM_DIR/versions/node/v18.12.0/bin:$PATH' >> $BASH_ENV
# Install dependencies with specific behaviors
- run:
Expand Down

0 comments on commit 0ed1e4f

Please sign in to comment.