Skip to content

Commit

Permalink
chore: use greenkeeper lock to update package-lock, close cypress-io#484
Browse files Browse the repository at this point in the history
  • Loading branch information
bahmutov committed Mar 29, 2018
1 parent 482e1ff commit 11be098
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,15 @@ defaults: &defaults
<<: *env_defaults

jobs:
# job to update package-lock.json file using Greenkeeper
lockfile:
<<: *defaults
steps:
- checkout
- run: npm install -g greenkeeper-lockfile@1
- run: greenkeeper-lockfile-update
- run: greenkeeper-lockfile-upload

## code checkout and NPM installs
build:
<<: *defaults
Expand Down Expand Up @@ -133,7 +142,10 @@ workflows:
version: 2
build_and_test:
jobs:
- build
- lockfile
- build:
requires:
- lockfile
- docs-tests:
requires:
- build
Expand Down

0 comments on commit 11be098

Please sign in to comment.