Skip to content

Commit

Permalink
Use yarn install --pure-lockfile
Browse files Browse the repository at this point in the history
  • Loading branch information
willdurand committed Aug 9, 2018
1 parent c18923a commit 50758e0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ cache:
# Allow to display job names on Travis-CI, see:
# https://github.com/travis-ci/travis-ci/issues/5898#issuecomment-362490313
script: FORCE_COLOR=0 yarn $COMMAND

# See: https://github.com/mozilla/addons-frontend/issues/3034
install: yarn install --pure-lockfile

jobs:
include:
# Test the build process.
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ RUN buildDeps=' \
# install deps
apt-get update -y && \
apt-get install -y --no-install-recommends $buildDeps && \
yarn install && \
yarn install --pure-lockfile && \
# cleanup
# apt-get purge -y $buildDeps && \
rm -rf /var/lib/apt/lists/*
Expand Down

0 comments on commit 50758e0

Please sign in to comment.