Skip to content

Commit f6dd7a5

Browse files
committed
use frozen lockfile to fail on outdated yarn.lock
1 parent d0b0cad commit f6dd7a5

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

appveyor.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ environment:
2121
install:
2222
- ps: Install-Product node $env:nodejs_version x64
2323
- npm install yarn -g
24-
- yarn install
25-
- yarn link || yarn link
26-
- yarn link webpack
24+
- yarn install --frozen-lockfile
25+
- yarn link --frozen-lockfile || yarn link --frozen-lockfile
26+
- yarn link webpack --frozen-lockfile
2727

2828
build: off
2929

ci/travis-install.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/bash
22
set -ev
33

4-
yarn link || true && yarn link webpack;
4+
yarn link --frozen-lockfile || true && yarn link webpack --frozen-lockfile;
5+
6+
yarn --frozen-lockfile
57

0 commit comments

Comments
 (0)