Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Commit

Permalink
switch to circle v2 (#3)
Browse files Browse the repository at this point in the history
* switch to circle v2

* remove commented out lines
  • Loading branch information
bahmutov committed Oct 23, 2018
1 parent 0fe9031 commit 4ad4e22
Show file tree
Hide file tree
Showing 3 changed files with 266 additions and 10 deletions.
4 changes: 4 additions & 0 deletions .npmrc
@@ -0,0 +1,4 @@
loglevel=warn
progress=false
package-lock=true
save-exact=true
38 changes: 28 additions & 10 deletions circle.yml
@@ -1,11 +1,29 @@
machine:
node:
version: 8.4.0
version: 2
jobs:
test:
docker:
- image: cypress/base:10
steps:
- checkout
- restore_cache:
keys:
- cache-{{ checksum "package.json" }}
- run: npm ci
- save_cache:
key: cache-{{ checksum "package.json" }}
paths:
- ~/.npm
- ~/.cache
# now install just a specific version of Cypress (from commit message)
# or latest version of Cypress
- run:
name: Install Cypress
command: $(npm bin)/commit-message-install --else "npm i cypress"
- run: $(npm bin)/cypress verify
- run: npm test

dependencies:
override:
- npm install
- $(npm bin)/commit-message-install
- $(npm bin)/cypress verify
cache_directories:
- "node_modules"
workflows:
version: 2
build:
jobs:
- test
234 changes: 234 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4ad4e22

Please sign in to comment.