CI/CD Integration
Use rolecraft in your CI pipeline to verify and install skills automatically.
GitHub Action
The rolecraft-action wraps the CLI for easy CI integration:
yaml
name: Verify skills
on: [push]
jobs:
verify:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- uses: rolecraft-sh/rolecraft-action@v1
with:
command: ci --yesExamples
Re-install from lockfile
yaml
- uses: rolecraft-sh/rolecraft-action@v1
with:
command: ci --yesVerify skill integrity
yaml
- uses: rolecraft-sh/rolecraft-action@v1
with:
command: verifyRun system health check
yaml
- uses: rolecraft-sh/rolecraft-action@v1
with:
command: doctorDry-run install
yaml
- uses: rolecraft-sh/rolecraft-action@v1
with:
command: install user/repo --dry-runInputs
| Input | Required | Default | Description |
|---|---|---|---|
command | ✅ | — | Any rolecraft command and flags |
version | ❌ | latest | RoleCraft version (latest, 1.6.0, etc.) |
