chore(release): prepare 0.1.0-rc.1 pre-release #16
Workflow file for this run
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: CI | |
| on: | |
| push: | |
| branches: ["**"] | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| name: typecheck · test · build (node ${{ matrix.node-version }}) | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node-version: ["22.x", "24.x"] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up Node ${{ matrix.node-version }} | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| cache: npm | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Typecheck | |
| run: npm run typecheck | |
| - name: Test | |
| run: npm test | |
| - name: Build | |
| run: npm run build | |
| integration: | |
| name: e2e · opencode loads plugin & lists models | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up Node | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: "24.x" | |
| cache: npm | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Install opencode, load the plugin, and list Cursor models | |
| run: bash scripts/integration-test.sh | |
| env: | |
| # Optional: when set, the script additionally verifies live auth and | |
| # Cursor.models.list(). Without it, the fallback model path is tested. | |
| CURSOR_API_KEY: ${{ secrets.CURSOR_API_KEY }} |