mirror of
https://github.com/imputnet/cobalt.git
synced 2025-01-16 03:45:14 +00:00
build: add test to check if lockfile needs an update
This commit is contained in:
parent
7c39b10435
commit
7f333ec681
13
.github/workflows/test.yml
vendored
13
.github/workflows/test.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue