Skip to content

Commit

Permalink
chore: updating run binary CI scripts to support external contributors (
Browse files Browse the repository at this point in the history
  • Loading branch information
tbiethman authored Jul 29, 2022
1 parent 2fd495c commit 964ac37
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -873,7 +873,16 @@ commands:
# Ensure we're installing the node-version for the cloned repo
command: |
if [[ -f .node-version ]]; then
curl -L https://raw.githubusercontent.com/cypress-io/cypress/<< pipeline.git.branch >>/scripts/ensure-node.sh --output ci-ensure-node.sh
branch="<< pipeline.git.branch >>"
externalBranchPattern='^pull\/[0-9]+'
if [[ $branch =~ $externalBranchPattern ]]; then
# We are unable to curl from the external PR branch location
# so we fall back to develop
branch="develop"
fi
curl -L https://raw.githubusercontent.com/cypress-io/cypress/$branch/scripts/ensure-node.sh --output ci-ensure-node.sh
else
# if no .node-version file exists, we no-op the node script and use the global yarn
echo '' > ci-ensure-node.sh
Expand Down

5 comments on commit 964ac37

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 964ac37 Jul 29, 2022

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/10.4.0/linux-x64/develop-964ac37e1cd06bccc6659725245097dbb6096600/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 964ac37 Jul 29, 2022

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 arm64 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/10.4.0/linux-arm64/develop-964ac37e1cd06bccc6659725245097dbb6096600/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 964ac37 Jul 29, 2022

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 arm64 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/10.4.0/darwin-arm64/develop-964ac37e1cd06bccc6659725245097dbb6096600/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 964ac37 Jul 29, 2022

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/10.4.0/darwin-x64/develop-964ac37e1cd06bccc6659725245097dbb6096600/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 964ac37 Jul 29, 2022

Choose a reason for hiding this comment

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

Circle has built the win32 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/10.4.0/win32-x64/develop-964ac37e1cd06bccc6659725245097dbb6096600/cypress.tgz

Please sign in to comment.