Skip to content

Commit

Permalink
chore: checkfiles with yarn install (aws#4755)
Browse files Browse the repository at this point in the history
* chore: checkfiles with yarn install

* use .yarnrc configuration instead
  • Loading branch information
hacker65536 authored and mergify[bot] committed Nov 8, 2019
1 parent 5dc7688 commit 31db514
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions .yarnrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
# This is required as the *current* CodeBuild image has node8, but we "require" node 10.
# The whole file can be dropped once the new Docker image is released.
--install.ignore-engines true
--run.ignore-engines true
--install.check-files true # install will verify file tree of packages for consistency
--install.audit true # Run vulnerability audit on installed packages
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export NODE_OPTIONS="--max-old-space-size=4096 ${NODE_OPTIONS:-}"

echo "============================================================================================="
echo "installing..."
yarn install
yarn install --frozen-lockfile

fail() {
echo "❌ Last command failed. Scroll up to see errors in log (search for '!!!!!!!!')."
Expand Down

0 comments on commit 31db514

Please sign in to comment.