Skip to content

Commit 2b30dbc

Browse files
committed
feat: add dependency audit to CI and prepublish
1 parent 122546a commit 2b30dbc

3 files changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ jobs:
2828
- name: Install dependencies
2929
run: pnpm install --frozen-lockfile
3030

31+
- name: Audit dependencies
32+
run: pnpm audit --audit-level=high
33+
3134
- name: Lint
3235
run: pnpm lint
3336

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 🗃️docs-cache
1+
# 🗃️ docs-cache
22

33
Deterministic local caching of documentation repositories.
44

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"build": "unbuild",
2323
"dev": "unbuild --stub",
2424
"lint": "biome check .",
25-
"prepublishOnly": "pnpm build && pnpm schema:build",
25+
"prepublishOnly": "pnpm audit --audit-level=high && pnpm build && pnpm schema:build",
2626
"release": "bumpp && npm publish",
2727
"test": "pnpm build && node --test",
2828
"test:coverage": "pnpm build && c8 --include dist --exclude bin --reporter=text node --test",

0 commit comments

Comments
 (0)