Skip to content

fix: ordering hallucinations and per milestone contributors ordering #87

fix: ordering hallucinations and per milestone contributors ordering

fix: ordering hallucinations and per milestone contributors ordering #87

name: Ensure clean package-lock.json
on:
pull_request:
branches:
- main
paths:
- "**/package.json"
- "**/package-lock.json"
permissions:
contents: read
jobs:
check-lockfile:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Install dependencies
uses: ./.github/composite-actions/install
with:
frozen-lockfile: false
- name: Check for package-lock.json changes
run: |
if git diff --exit-code package-lock.json >/dev/null; then
echo "package-lock.json is clean :)"
else
echo "package-lock.json changed after running npm install. Please commit the updated lockfile." >&2
git diff --exit-code package-lock.json
fi