Use HCB in CI
Add this to any plugin repo:
name: hcb
on: [push, pull_request]
jobs:
compat:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: PerryLink/dsh-hcb/.github/actions/check@main
with:
package: your-npm-package
# host: 0.2.2-rc.3 # optional; default = latest in HCB
# fail-on: declared-incompatible
Notes:
unknownnever fails; it prints a warning so you can addengines.dsh.declared-incompatiblefails by default; setfail-on: neverfor a report-only mode.- The action reads
data/matrix.jsonfrommain; pin a tag if you need stability. - It also prints the three tracks and the gate; no total score.
- This is a declared check, not a test run.