Skip to content

Commit

Permalink
use frozen lockfile to fail on outdated yarn.lock
Browse files Browse the repository at this point in the history
  • Loading branch information
sokra committed May 28, 2017
1 parent 0257f6c commit ee6ce4f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 3 additions & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ environment:
install:
- ps: Install-Product node $env:nodejs_version x64
- npm install yarn -g
- yarn install
- yarn link || yarn link
- yarn link webpack
- yarn install --frozen-lockfile
- yarn link --frozen-lockfile || yarn link --frozen-lockfile
- yarn link webpack --frozen-lockfile

build: off

Expand Down
4 changes: 3 additions & 1 deletion ci/travis-install.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/bash
set -ev

yarn link || true && yarn link webpack;
yarn link --frozen-lockfile || true && yarn link webpack --frozen-lockfile;

yarn --frozen-lockfile

0 comments on commit ee6ce4f

Please sign in to comment.