mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-28 11:41:04 +00:00
feat: add CLI package build and settings schema validation to CI workflow
This commit is contained in:
parent
01c66ca333
commit
585081e7de
1 changed files with 17 additions and 0 deletions
17
.github/workflows/ci.yml
vendored
17
.github/workflows/ci.yml
vendored
|
|
@ -83,6 +83,23 @@ jobs:
|
|||
- name: 'Run sensitive keyword linter'
|
||||
run: 'node scripts/lint.js --sensitive-keywords'
|
||||
|
||||
- name: 'Build CLI package'
|
||||
run: 'npm run build --workspace=packages/cli'
|
||||
|
||||
- name: 'Generate settings schema'
|
||||
run: 'npm run generate:settings-schema'
|
||||
|
||||
- name: 'Check settings schema is up-to-date'
|
||||
run: |
|
||||
if [[ -n $(git status --porcelain packages/vscode-ide-companion/schemas/settings.schema.json) ]]; then
|
||||
echo "❌ Error: settings.schema.json is out of date!"
|
||||
echo " Please run: npm run generate:settings-schema"
|
||||
echo " Then commit the updated schema file."
|
||||
git diff packages/vscode-ide-companion/schemas/settings.schema.json
|
||||
exit 1
|
||||
fi
|
||||
echo "✅ Settings schema is up-to-date"
|
||||
|
||||
#
|
||||
# Test: Node
|
||||
#
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue