Skip to content

Instantly share code, notes, and snippets.

@nartoan
Created September 23, 2017 00:48
Show Gist options
  • Select an option

  • Save nartoan/5145946c0efc6c2d8dca65eca9f41b72 to your computer and use it in GitHub Desktop.

Select an option

Save nartoan/5145946c0efc6c2d8dca65eca9f41b72 to your computer and use it in GitHub Desktop.
version: 2
jobs:
build:
docker:
- image: circleci/node:7.10
working_directory: ~/app
steps:
- checkout
- restore_cache:
key: dependency-cache-{{ checksum "nrop/package.json"}}
- run:
name: install-npm
command: cd nrop && npm install
- save_cache:
key: dependency-cache-{{ checksum "nrop/package.json"}}
paths:
- ./nrop/node_modules
- run:
name: run-cypress
command: ./nrop/node_modules/.bin/cypress run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment