Skip to content

Suppress the control-character lint on the bracketed-paste regex #26

Suppress the control-character lint on the bracketed-paste regex

Suppress the control-character lint on the bracketed-paste regex #26

Workflow file for this run

name: PR checks — typecheck · unit · contract
on:
push:
branches: [main]
pull_request:
jobs:
unit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- run: npm ci
- run: npm run typecheck
- run: npx vitest run tests/unit
# 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@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- run: npm ci
- run: npm install -D @opencode-ai/plugin@latest
- run: npm run typecheck
- run: npx vitest run tests/contract
loader-smoke:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- run: npm ci
- run: npm install -g opencode-ai@latest
- run: bash scripts/smoke-loader.sh