Skip to content

Commit

Permalink
Diff lock file
Browse files Browse the repository at this point in the history
  • Loading branch information
KSXGitHub committed May 21, 2018
1 parent db95da2 commit 7ad2a3a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ cache:
before_install:
- curl -L https://unpkg.com/@pnpm/self-installer | node
- pnpm --version
- bash sh/ci/before-install.sh

install:
- pnpm recursive link --shamefully-flatten
Expand Down
4 changes: 4 additions & 0 deletions sh/ci/after-script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,8 @@ echo ' → To Codecov <https://codecov.io/>'
codecov
((stcode|=$?))

echo 'Diffing lock file...'
echo ' → shrinkwrap.yaml ≏ shrinkwrap.yaml.old.tmp'
diff --color=always shrinkwrap.yaml shrinkwrap.yaml.old.tmp

exit $stcode
1 change: 1 addition & 0 deletions sh/ci/before-install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
cp shrinkwrap.yaml shrinkwrap.yaml.old.tmp

0 comments on commit 7ad2a3a

Please sign in to comment.