Skip to content

Commit

Permalink
fix darwin node install
Browse files Browse the repository at this point in the history
  • Loading branch information
flotwig committed Nov 9, 2021
1 parent 1e8dc00 commit 68c95b0
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -273,25 +273,21 @@ commands:
default: ""
steps:
- run:
name: Install NVM
name: Install NVM + Node
# TODO: determine why we get the missing .nvmrc file error
command: |
export NODE_VERSION=<<parameters.version>>
export NODE_VERSION=${NODE_VERSION:-$(cat .node-version)}
echo "Installing Node $NODE_VERSION"
echo $NODE_VERSION > .nvmrc
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.35.3/install.sh | bash
- run:
# https://github.com/nvm-sh/nvm#nvmrc
name: Install Node
command: |
. ./scripts/load-nvm.sh
echo "before nvm install"
nvm install <<parameters.version>>
nvm install $NODE_VERSION
echo "before nvm use"
nvm use <<parameters.version>>
nvm use $NODE_VERSION
echo "before nvm alias default"
nvm alias default
nvm alias default $NODE_VERSION
node --version
install-chrome:
Expand Down

2 comments on commit 68c95b0

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 68c95b0 Nov 9, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Circle has built the linux x64 version of the Test Runner.

Learn more about this pre-release platform-specific build at https://on.cypress.io/installing-cypress#Install-pre-release-version.

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/8.8.0/circle-9.0-release-68c95b03cdc45e7fe9ae2685b370db5194a8a9c1/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 68c95b0 Nov 9, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Circle has built the darwin x64 version of the Test Runner.

Learn more about this pre-release platform-specific build at https://on.cypress.io/installing-cypress#Install-pre-release-version.

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/8.8.0/circle-9.0-release-68c95b03cdc45e7fe9ae2685b370db5194a8a9c1/cypress.tgz

Please sign in to comment.