Skip to content
This repository has been archived by the owner on Dec 24, 2020. It is now read-only.

Commit

Permalink
Merge pull request #101 from connorshea/freeze-lockfile
Browse files Browse the repository at this point in the history
Freeze the lockfile when installing on Travis.
  • Loading branch information
connorshea authored Jul 2, 2018
2 parents 34ff8b5 + e336e89 commit 0aeb73e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ install:
- bundle install
- nvm install 9
- nvm use 9
- yarn install
- yarn install --frozen-lockfile
- yarn list
before_script:
- cp config/database.yml.travis config/database.yml
Expand Down
8 changes: 7 additions & 1 deletion lib/tasks/update.rake
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,13 @@ namespace :update do
puts "Installing packages via 'yarn install'."
puts "yarn install"
system('yarn install') or exit


puts ""
puts "Checking that the correct versions of packages are installed via 'yarn check'."
puts "If this fails, you may need to delete your node_modules folder and re-run 'yarn install'."
puts "yarn check"
system('yarn check') or exit

puts ""
puts "Open 'config/application.rb' and update config.mdn_bcd_version to"\
" #{latest_version}."
Expand Down

0 comments on commit 0aeb73e

Please sign in to comment.