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 1
1
name : CI
2
2
on : [push, pull_request]
3
3
env :
4
- NODE_VERSION_USED_FOR_DEVELOPMENT : 14
4
+ NODE_VERSION_USED_FOR_DEVELOPMENT : 16
5
5
jobs :
6
6
lint :
7
7
name : Lint source files
55
55
exit 1
56
56
fi
57
57
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
+
58
76
coverage :
59
77
name : Measure test coverage
60
78
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments