mirror of
https://github.com/cypress-io/cypress.git
synced 2026-01-25 16:39:04 -06:00
cli: downgrade chalk (#6569)
* cli: downgrade chalk * add job to test NPM on minimum Node version * forgot to attach workspace * try updating npm * try installing npm 5.0.4 * try npm 5.1.0 * skip npm init, just install Cypress * try using Yarn * run additional Cypress commands * print Cypress version * print Cypress version * hmm, try different user * yarn-lock * back to npm * print npm version Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
This commit is contained in:
38
circle.yml
38
circle.yml
@@ -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
|
||||
@@ -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:
|
||||
|
||||
@@ -26,7 +26,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",
|
||||
|
||||
@@ -8020,7 +8020,7 @@ chai@4.2.0, chai@^4.1.2:
|
||||
pathval "^1.1.0"
|
||||
type-detect "^4.0.5"
|
||||
|
||||
chalk@*, chalk@3.0.0:
|
||||
chalk@*:
|
||||
version "3.0.0"
|
||||
resolved "https://registry.yarnpkg.com/chalk/-/chalk-3.0.0.tgz#3f73c2bf526591f574cc492c51e2456349f844e4"
|
||||
integrity sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==
|
||||
|
||||
Reference in New Issue
Block a user