Skip to content

Commit 08cd4c7

Browse files
committed
Add comment
1 parent 7907682 commit 08cd4c7

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.travis.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,16 @@ env:
88
global:
99
- CXX=g++-4.8
1010
before_install:
11-
# Yarn defaults to an old version, make sure we
12-
# get an up to date version
11+
# Yarn defaults to an old version, make sure we get an up to date version
1312
- npm install -g [email protected]
1413
- '[ "${NPM_TOKEN+x}" ] && echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" > $HOME/.npmrc || echo "Skipping .npmrc creation";'
1514
install:
15+
# --frozen-lockfile doesn’t generate a yarn.lock lockfile and should fail if an update is needed.
16+
# This will make sure that yarn.lock file in the PR is consistent with package.json.
17+
#
18+
# Due to a yarn issue (https://github.com/yarnpkg/yarn/issues/5840), --frozen-lockfile doesn't
19+
# actually fail if an update is required, but integrity check from tools/pretest.js will catch
20+
# the issue, so it still works as expected.
1621
- yarn install --frozen-lockfile
1722
before_script:
1823
- cp config/ci.config.json config/project.json

0 commit comments

Comments
 (0)