build: add test to check if lockfile needs an update

This commit is contained in:
jj 2024-05-28 09:00:58 +02:00 committed by GitHub
parent 7c39b10435
commit 7f333ec681
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -6,6 +6,19 @@ on:
branches: [ current ]
jobs:
check-lockfile:
name: check lockfile correctness
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Check that lockfile does not need an update
run: |
cp package-lock.json before.json
npm ci
npm i --package-lock-only
diff before.json package-lock.json
test-web:
name: web sanity check
runs-on: ubuntu-latest