mirror of
https://github.com/wukko/cobalt.git
synced 2025-03-13 12:48:52 +01:00
build: add test to check if lockfile needs an update
This commit is contained in:
parent
7c39b10435
commit
7f333ec681
1 changed files with 14 additions and 1 deletions
13
.github/workflows/test.yml
vendored
13
.github/workflows/test.yml
vendored
|
@ -6,6 +6,19 @@ on:
|
||||||
branches: [ current ]
|
branches: [ current ]
|
||||||
|
|
||||||
jobs:
|
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:
|
test-web:
|
||||||
name: web sanity check
|
name: web sanity check
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
Loading…
Reference in a new issue