File tree Expand file tree Collapse file tree 2 files changed +20
-2
lines changed
Expand file tree Collapse file tree 2 files changed +20
-2
lines changed Original file line number Diff line number Diff line change 11name : CI
22on : [push, pull_request]
33env :
4- NODE_VERSION_USED_FOR_DEVELOPMENT : 14
4+ NODE_VERSION_USED_FOR_DEVELOPMENT : 16
55jobs :
66 lint :
77 name : Lint source files
5555 exit 1
5656 fi
5757
58+ checkPackageLock :
59+ name : Check health of package-lock.json file
60+ runs-on : ubuntu-latest
61+ steps :
62+ - name : Checkout repo
63+ uses : actions/checkout@v2
64+
65+ - name : Setup Node.js
66+ uses : actions/setup-node@v1
67+ with :
68+ node-version : ${{ env.NODE_VERSION_USED_FOR_DEVELOPMENT }}
69+
70+ - name : Run npm install
71+ run : npm install --package-lock-only --engine-strict --strict-peer-deps
72+
73+ - name : Check that package-lock.json is in sync with package.json
74+ run : git diff --exit-code package-lock.json
75+
5876 coverage :
5977 name : Measure test coverage
6078 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments