Skip to content

chore: integrate npm-lockfile-changes action #1242

chore: integrate npm-lockfile-changes action

chore: integrate npm-lockfile-changes action #1242

Workflow file for this run

name: Check Lockfile
on: pull_request
jobs:
lockfile_version:
name: Lockfile version check
runs-on: ubuntu-latest
steps:
- name: Check out a copy of the repo
uses: actions/checkout@v4
- name: Check package-lock.json version has not been changed
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
# The original doesn't support v3 lockfiles so we use a fork that adds support for them
uses: rvanvelzen/npm-lockfile-changes@main
with:
token: ${{ secrets.GITHUB_TOKEN }}