feat(cli): add skilld run for transient Skills #740
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Test | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths-ignore: | |
| - '**/README.md' | |
| - 'docs/**' | |
| pull_request: | |
| paths-ignore: | |
| - '**/README.md' | |
| - 'docs/**' | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.number || github.sha }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| quality: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: pnpm/action-setup@v6 | |
| - uses: actions/setup-node@v7 | |
| with: | |
| node-version: lts/* | |
| cache: pnpm | |
| - run: pnpm install --frozen-lockfile | |
| - run: pnpm lint | |
| - run: pnpm typecheck | |
| - run: pnpm build | |
| - run: pnpm test:js | |
| - name: Rust tests | |
| if: github.event_name == 'push' | |
| run: cargo test --workspace | |
| - name: Protocol v1 drift check | |
| if: github.event_name == 'push' | |
| run: pnpm --filter skilld-protocol check:v1 | |
| - name: Package health checks | |
| if: github.event_name == 'push' | |
| run: | | |
| pnpm --filter skilld-protocol publint | |
| pnpm --filter skilld-protocol attw | |
| pnpm --filter skilld-harness publint | |
| pnpm --filter skilld-harness attw | |
| - name: Pack root CLI | |
| if: github.event_name == 'push' | |
| run: | | |
| mkdir -p artifacts | |
| pnpm pack --pack-destination artifacts | |
| native-host: | |
| if: github.event_name == 'push' | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - runner: ubuntu-24.04 | |
| executable: target/release/skilld | |
| - runner: ubuntu-24.04-arm | |
| executable: target/release/skilld | |
| - runner: macos-15 | |
| executable: target/release/skilld | |
| - runner: macos-15-intel | |
| executable: target/release/skilld | |
| - runner: windows-2025 | |
| executable: target/release/skilld.exe | |
| - runner: windows-11-arm | |
| executable: target/release/skilld.exe | |
| runs-on: ${{ matrix.runner }} | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - run: cargo build --locked --release --package skilld-native | |
| - name: Smoke test native CLI | |
| if: runner.os != 'Windows' | |
| run: ${{ matrix.executable }} --version | |
| - name: Smoke test native CLI | |
| if: runner.os == 'Windows' | |
| shell: pwsh | |
| run: '& ${{ matrix.executable }} --version' |