File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -190,6 +190,31 @@ 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 : 5
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+ env :
212+ NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
213+
214+ - name : Check package lock drift
215+ run : |
216+ git diff --exit-code HEAD
217+
193218 audit-prod :
194219 name : Audit - Production
195220 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments