Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
dda6fbe
feat(infra): add Biome linting/formatting infrastructure
thoroc Jan 31, 2026
8b96c1c
fix: resolve CI failures on Biome infrastructure PR
thoroc Jan 31, 2026
6e9ded5
fix(agent-loader): fix type predicate in load-all-agent-specs.ts
thoroc Jan 31, 2026
ee20d93
fix: resolve remaining CI failures on PR #21
thoroc Feb 1, 2026
b6869ee
style: apply Biome formatting to fix CI errors
thoroc Feb 1, 2026
b507c6a
fix(agent-loader): use type assertion instead of type predicate
thoroc Feb 1, 2026
9154f02
refactor: cleanup PR #21 to only include infrastructure
thoroc Feb 1, 2026
e5717fe
fix(biome): add overrides for test/template files to fix lint errors
thoroc Feb 1, 2026
f450b57
fix(biome): add file ignores for packages not in this PR
thoroc Feb 1, 2026
9704232
fix(biome): add file ignores and template overrides to fix CI
thoroc Feb 1, 2026
bbc8123
fix(biome): simplify biome.json configuration to fix CI
thoroc Feb 1, 2026
9a5835f
refactor: clean PR #21 to only include infrastructure
thoroc Feb 1, 2026
7a0a907
fix: resolve Biome linting and formatting issues for CI
thoroc Feb 1, 2026
edeb5de
fix: add verbose flag to Biome CI command for detailed output
thoroc Feb 1, 2026
38fe4f6
fix(biome): add diagnostic level flag to Biome CI command for improve…
thoroc Feb 1, 2026
1f6bc76
fix: add output-style flag to various nx affected commands for consis…
thoroc Feb 1, 2026
9b1c268
docs: add Biome diagnostics reference to skill documentation
thoroc Feb 1, 2026
370755f
fix(biome): add BIOME_CONFIG_PATH environment variable for Biome CI
thoroc Feb 1, 2026
21d5b1e
fix: update globals.d.ts to ignore linting for noNamespace rule
thoroc Feb 1, 2026
61f8d7c
docs: add debugging guidance for CI failures in Biome skill documenta…
thoroc Feb 1, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 26 additions & 17 deletions .github/workflows/validate-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,36 +33,45 @@ jobs:
- name: Install dependencies
run: bun install --frozen-lockfile

- name: Biome check (format + lint)
run: bunx nx affected --target=check --base=origin/${{ github.base_ref }}
- name: Run Biome CI
env:
BIOME_CONFIG_PATH: ./biome.json
run: bunx biome ci --reporter=github --diagnostic-level=error . --verbose

- name: JSDoc validation
run: bunx nx affected --target=validate:jsdoc --base=origin/${{ github.base_ref }}
- name: Run markdown linter
run: bunx markdownlint-cli2 "**/*.md" "#node_modules" "#**/node_modules"

- name: Markdown validation
run: bunx nx affected --target=validate:markdown --base=origin/${{ github.base_ref }}
- name: Validate TSDoc on affected projects
run: bunx nx affected --target=validate:tsdoc --base=origin/${{ github.base_ref }} --output-style=stream

- name: Type check affected projects
run: bunx nx affected --target=type-check --base=origin/${{ github.base_ref }}
run: bunx nx affected --target=type-check --base=origin/${{ github.base_ref }} --output-style=stream

- name: Run tests on affected projects
run: bunx nx affected --target=test --base=origin/${{ github.base_ref }}
run: bunx nx affected --target=test --base=origin/${{ github.base_ref }} --output-style=stream

- name: Build affected projects
run: bunx nx affected --target=build --base=origin/${{ github.base_ref }} --exclude='tag:skip-ci'
run: bunx nx affected --target=build --base=origin/${{ github.base_ref }} --exclude='tag:skip-ci' --output-style=stream

- name: Validate TypeScript skills
run: bunx nx affected --target=validate:skills --base=origin/${{ github.base_ref }} --output-style=stream

- name: Validate SKILL.md files
run: bunx nx affected --target=validate:skill-md --base=origin/${{ github.base_ref }} --configuration=strict --output-style=stream

- name: Summary
if: always()
run: |
echo "## ✅ Validation Complete" >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY
echo "All validation checks passed:" >> $GITHUB_STEP_SUMMARY
echo "- ✅ Biome check (format + lint)" >> $GITHUB_STEP_SUMMARY
echo "- ✅ JSDoc validation" >> $GITHUB_STEP_SUMMARY
echo "- ✅ Markdown validation" >> $GITHUB_STEP_SUMMARY
echo "- ✅ Code formatting" >> $GITHUB_STEP_SUMMARY
echo "- ✅ Markdown linting" >> $GITHUB_STEP_SUMMARY
echo "- ✅ Code linting (affected)" >> $GITHUB_STEP_SUMMARY
echo "- ✅ Type checking (affected)" >> $GITHUB_STEP_SUMMARY
echo "- ✅ Tests (affected)" >> $GITHUB_STEP_SUMMARY
echo "- ✅ Build (affected)" >> $GITHUB_STEP_SUMMARY
echo "- ✅ Skill validation (affected)" >> $GITHUB_STEP_SUMMARY

security:
name: Security Analysis
Expand All @@ -76,17 +85,17 @@ jobs:
- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@0.28.0
with:
scan-type: "fs"
scan-ref: "."
format: "sarif"
output: "trivy-results.sarif"
scan-type: 'fs'
scan-ref: '.'
format: 'sarif'
output: 'trivy-results.sarif'

- name: Upload Trivy scan results
uses: github/codeql-action/upload-sarif@v3
if: always()
continue-on-error: true
with:
sarif_file: "trivy-results.sarif"
sarif_file: 'trivy-results.sarif'

pr-analysis:
name: PR Analysis
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,6 @@ tmp/

# OpenCode
.opencode/
!.opencode/skills/
.context/
.nx/
Loading
Loading