Add skipWebhookReconcile for pre-provisioned subscriptions (#25) #149
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: PR checks — typecheck · unit · contract | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| jobs: | |
| unit: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: actions/checkout@v7 | |
| with: | |
| repository: inkbox-ai/inkbox | |
| ref: 73f18a2b8c0e9dc6887c5663e6e904d54869927e | |
| path: .ci/inkbox | |
| - uses: actions/setup-node@v7 | |
| with: | |
| node-version: 22 | |
| cache: npm | |
| - run: | | |
| npm ci --prefix .ci/inkbox/sdk/typescript | |
| npm run build --prefix .ci/inkbox/sdk/typescript | |
| npm install --no-save --package-lock=false \ | |
| ./.ci/inkbox/sdk/typescript \ | |
| @opencode-ai/sdk@1.17.18 @opencode-ai/plugin@1.17.18 | |
| - run: npm run lint | |
| - run: npm run typecheck | |
| - run: npm test | |
| - run: npm run build | |
| # Same contract suite canary runs on a schedule, but here it gates PRs so a | |
| # host bump that breaks the plugin interface is visible at review time. | |
| contract-latest: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: actions/checkout@v7 | |
| with: | |
| repository: inkbox-ai/inkbox | |
| ref: 73f18a2b8c0e9dc6887c5663e6e904d54869927e | |
| path: .ci/inkbox | |
| - uses: actions/setup-node@v7 | |
| with: | |
| node-version: 22 | |
| cache: npm | |
| - run: | | |
| npm ci --prefix .ci/inkbox/sdk/typescript | |
| npm run build --prefix .ci/inkbox/sdk/typescript | |
| npm install --no-save --package-lock=false \ | |
| ./.ci/inkbox/sdk/typescript \ | |
| @opencode-ai/sdk@1.17.18 @opencode-ai/plugin@1.17.18 | |
| - run: | | |
| npm install --no-save --package-lock=false \ | |
| ./.ci/inkbox/sdk/typescript \ | |
| @opencode-ai/sdk@latest @opencode-ai/plugin@latest | |
| - run: npm run typecheck | |
| - run: npx vitest run tests/contract | |
| loader-smoke: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: actions/checkout@v7 | |
| with: | |
| repository: inkbox-ai/inkbox | |
| ref: 73f18a2b8c0e9dc6887c5663e6e904d54869927e | |
| path: .ci/inkbox | |
| - uses: actions/setup-node@v7 | |
| with: | |
| node-version: 22 | |
| cache: npm | |
| - run: | | |
| npm ci --prefix .ci/inkbox/sdk/typescript | |
| npm run build --prefix .ci/inkbox/sdk/typescript | |
| npm install --no-save --package-lock=false \ | |
| ./.ci/inkbox/sdk/typescript \ | |
| @opencode-ai/sdk@1.17.18 @opencode-ai/plugin@1.17.18 | |
| - run: npm install -g opencode-ai@latest | |
| - run: INKBOX_SDK_PATH="$PWD/.ci/inkbox/sdk/typescript" bash scripts/smoke-loader.sh |