Skip to content

Commit

Permalink
Test if a package-lock.json diff is catched on npm install
Browse files Browse the repository at this point in the history
  • Loading branch information
ceyhun committed May 28, 2021
1 parent 34f5af7 commit d67a0c0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/rnmobile-ios-runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
# path: ~/.npm
# key: ${{ runner.os }}-npm-${{ hashFiles('package-lock.json') }}

- run: npm install
- run: npm install --loglevel verbose

- name: Prepare build cache key
run: find package-lock.json packages/react-native-editor/ios packages/react-native-aztec/ios packages/react-native-bridge/ios -type f -print0 | sort -z | xargs -0 shasum | tee ios-checksums.txt
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/static-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
#
# See: https://github.com/WordPress/gutenberg/issues/16157
run: |
npm install
npm install --loglevel verbose
git diff --no-ext-diff --exit-code --quiet || >&2 echo "Probably package-lock.json has changed. Please run npm install and commit the diff"
npm run build
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d67a0c0

Please sign in to comment.