Skip to content

Commit 1e17b69

Browse files
committed
Use jq to validate lockfile
1 parent ff159a0 commit 1e17b69

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/lint.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ jobs:
1212
- uses: actions/setup-node@v4
1313
with:
1414
node-version: 20
15-
- run: npm ci
16-
- run: npm run lint
17-
- run: npm run prettier:ci
15+
- name: Check that package-lock.json is valid JSON
16+
run: jq empty package-lock.json
17+
- name: Install npm packages
18+
run: npm ci
19+
- name: Run eslint
20+
run: npm run lint
21+
- name: Run prettier
22+
run: npm run prettier:ci

0 commit comments

Comments
 (0)