Skip to content

Commit 2774fcc

Browse files
authored
Merge pull request webpack#4952 from webpack/ci/freeze-yarn-lock
use frozen lockfile to fail on outdated yarn.lock
2 parents 0257f6c + ee6ce4f commit 2774fcc

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

‎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)