File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -190,6 +190,30 @@ jobs:
190190 - name : Run spell check
191191 run : npm run spell-check
192192
193+ package-lock-drift-check :
194+ name : Package Lock Drift Check
195+ runs-on : ubuntu-latest
196+ timeout-minutes : 15
197+ steps :
198+ - name : Checkout
199+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
200+
201+ - name : Setup Node.js
202+ uses : actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6
203+ with :
204+ cache : ' npm'
205+ node-version-file : ' .nvmrc'
206+ registry-url : ' https://npm.pkg.github.com'
207+ scope : ' @deepnote'
208+
209+ - name : Install dependencies
210+ run : npm install
211+
212+ - name : Check package lock drift
213+ run : |
214+ git diff HEAD
215+ test "$(git diff --name-only HEAD | wc -l | xargs)" -eq 0
216+
193217 audit-prod :
194218 name : Audit - Production
195219 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments