From 1b3f796396b2b3de7142fbc1979d8247bea45c41 Mon Sep 17 00:00:00 2001 From: Andrew Chou Date: Thu, 19 Sep 2024 09:52:49 -0400 Subject: [PATCH] chore: integrate npm-lockfile-changes action --- .github/workflows/lockfile.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lockfile.yml b/.github/workflows/lockfile.yml index 046e77b70..e424b1f86 100644 --- a/.github/workflows/lockfile.yml +++ b/.github/workflows/lockfile.yml @@ -1,8 +1,8 @@ name: Check Lockfile on: pull_request jobs: - lockfile: - name: Lockfile check + lockfile_version: + name: Lockfile version check runs-on: ubuntu-latest steps: - name: Check out a copy of the repo @@ -11,3 +11,13 @@ jobs: uses: mansona/npm-lockfile-version@v1 with: version: 3 + lockfile_changes: + name: Lockfile changes check + runs-on: ubuntu-latest + steps: + - name: Check out a copy of the repo + uses: actions/checkout@v4 + - name: NPM Lockfile Changes + uses: codepunkt/npm-lockfile-changes@v1.0.0 + with: + token: ${{ secrets.GITHUB_TOKEN }}