We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a59c9eb commit 8dc0b64Copy full SHA for 8dc0b64
.circleci/config.yml
@@ -12,6 +12,19 @@ jobs:
12
- image: cimg/node:16.1.0
13
steps:
14
- checkout
15
+ - run:
16
+ name: Check that package-lock.json is updated as needed
17
+ command: |
18
+ npm install --prefix ./glean --package-lock-only
19
+ if ! git diff --exit-code HEAD -- glean/package-lock.json; then
20
+ echo "=================================================="
21
+ echo "The committed package-lock.json is out-dated."
22
+ echo "Please regenerate package-lock.json using"
23
+ echo " npm i --package-lock-only"
24
+ echo "Commit the modified file and push."
25
26
+ exit 1
27
+ fi
28
- run:
29
name: Install Javascript dependencies
30
command: npm --prefix ./glean install
0 commit comments