Skip to content

Commit

Permalink
Tweak Node version in CircleCI config (might require some more...)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikesname committed Oct 10, 2024
1 parent 584fd09 commit d75361e
Showing 1 changed file with 11 additions and 13 deletions.
24 changes: 11 additions & 13 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,33 +16,31 @@ jobs:
JVM_OPTS: -Xmx3200m
TERM: dumb
SMTP_PORT: 2500
SBT_VERSION: 1.4.1
SBT_VERSION: 1.10.1

steps:
- checkout

- run:
name: Get sbt binary
command: |
sudo curl -L -o sbt-$SBT_VERSION.deb https://scala.jfrog.io/artifactory/debian/sbt-$SBT_VERSION.deb
sudo dpkg -i sbt-$SBT_VERSION.deb
sudo rm sbt-$SBT_VERSION.deb
- checkout
- node/install:
node-version: '18.12.0'

# Do some faff magic to get the right node version installed
# Install dependencies with specific behaviors
- run:
name: Setup NVM
name: Install Dependencies
command: |
echo 'export NVM_DIR="/opt/circleci/.nvm"' >> $BASH_ENV
echo ' [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"' >> $BASH_ENV
- run: |
nvm install v16.16.0
nvm alias default v16.16.0
- node/install-packages:
override-ci-command: npm i
npm config set progress false
npm config set fund false
npm ci --prefer-offline
- run:
name: Run JS tests
command: npm test

# Download and cache dependencies
Expand Down

0 comments on commit d75361e

Please sign in to comment.