👷 Adds GH action to inspect changes to yarn.lock

This commit is contained in:
Alicia Sykes 2021-07-21 18:05:16 +01:00 committed by GitHub
parent 7a9df63831
commit b8ef43387f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,18 @@
# Shows changes to yarn.lock in PR comment
# Useful for easily understanding dependency changes
name: Yarn Lock Changes
on: [pull_request]
jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Yarn Lock Changes
uses: Simek/yarn-lock-changes@main
with:
token: ${{ secrets.GITHUB_TOKEN }}
collapsibleThreshold: '25'
failOnDowngrade: 'false'
path: 'yarn.lock'
updateComment: 'true'