Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cli: downgrade chalk #6569

Merged
merged 15 commits into from
Feb 28, 2020
38 changes: 38 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -938,6 +938,40 @@ jobs:
command: $(yarn bin)/cypress info
- store-npm-logs

test-npm-module-on-minimum-node-version:
<<: *defaults
docker:
- image: cypress/base:8.0.0
steps:
- attach_workspace:
at: ~/
# make sure we have cypress.zip received
- run: ls -l
- run: ls -l cypress.zip cypress.tgz
- run: mkdir test-binary
- run: node --version
- run: npm --version
- run:
name: Create new NPM package
working_directory: test-binary
command: npm init -y
- run:
name: Install Cypress
working_directory: test-binary
command: CYPRESS_INSTALL_BINARY=/root/cypress/cypress.zip npm install /root/cypress/cypress.tgz
- run:
name: Verify Cypress binary
working_directory: test-binary
command: $(npm bin)/cypress verify
- run:
name: Print Cypress version
working_directory: test-binary
command: $(npm bin)/cypress version
- run:
name: Cypress info
working_directory: test-binary
command: $(npm bin)/cypress info

# install NPM + binary zip and run against staging API
"test-binary-against-staging":
<<: *defaults
Expand Down Expand Up @@ -1247,6 +1281,10 @@ linux-workflow: &linux-workflow
- develop
requires:
- build-binary
- test-npm-module-on-minimum-node-version:
requires:
- build-binary
- build-npm-package
- post-pre-release-install-comment:
context: test-runner:commit-status-checks
filters:
Expand Down
2 changes: 1 addition & 1 deletion cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"arch": "2.1.1",
"bluebird": "3.7.2",
"cachedir": "2.3.0",
"chalk": "3.0.0",
"chalk": "2.4.2",
"check-more-types": "2.24.0",
"commander": "4.1.0",
"common-tags": "1.8.0",
Expand Down
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8085,7 +8085,7 @@ [email protected], chai@^4.1.2:
pathval "^1.1.0"
type-detect "^4.0.5"

chalk@*, [email protected]:
chalk@*:
version "3.0.0"
resolved "https://registry.yarnpkg.com/chalk/-/chalk-3.0.0.tgz#3f73c2bf526591f574cc492c51e2456349f844e4"
integrity sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==
Expand Down