Skip to content

Commit 47110f1

Browse files
author
tuanductran
committed
fix(ci): harden workspace dependency configuration
1 parent 92088d1 commit 47110f1

6 files changed

Lines changed: 72 additions & 333 deletions

File tree

.github/workflows/build-agents.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949

5050
- name: Build AGENTS.md (single skill)
5151
if: ${{ github.event.inputs.skill != '' }}
52-
run: pnpm nextdns-skills-build build --skill=${{ github.event.inputs.skill }}
52+
run: node packages/nextdns-skills-build/dist/cli.mjs build --skill=${{ github.event.inputs.skill }}
5353

5454
- name: Commit and push AGENTS.md changes
5555
run: |

.github/workflows/quality-checks.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ jobs:
4646
- name: Build packages
4747
run: pnpm build
4848

49+
- name: Audit dependencies
50+
run: pnpm audit:dependencies
51+
4952
- name: Lint Markdown documentation and agent workflows
5053
run: pnpm lint:md
5154

docs/CONTRIBUTING.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ After editing, run the smallest useful checks first. For rule or manifest change
5353
pnpm build:skills
5454
pnpm build:check
5555
pnpm run audit
56+
pnpm audit:dependencies
5657
pnpm lint:duplicates
5758
pnpm lint:fix
5859
pnpm lint:all

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
"check-duplicates": "turbo run check-duplicates",
4747
"check-tags": "turbo run check-tags",
4848
"audit": "node packages/nextdns-scripts/dist/cli.mjs audit",
49+
"audit:dependencies": "pnpm audit --audit-level=low",
4950
"dev": "turbo run dev",
5051
"format": "vp fmt",
5152
"format:check": "vp fmt --check",

0 commit comments

Comments
 (0)