Refresh model providers automatically and support Codex subscription UI #79
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: | |
| workflow_dispatch: | |
| inputs: | |
| signed_release: | |
| description: Build signed and notarized macOS dry-run artifacts after verification. | |
| type: boolean | |
| required: false | |
| default: false | |
| release_tag: | |
| description: Required for signed_release; must match package.json, with or without v. | |
| type: string | |
| required: false | |
| default: '' | |
| pull_request: | |
| push: | |
| branches: [main] | |
| tags: ["*"] | |
| permissions: | |
| contents: read | |
| jobs: | |
| verify: | |
| runs-on: macos-15 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| cache: npm | |
| - run: npm ci | |
| - run: npm run typecheck | |
| - run: npm run lint | |
| - run: npm test | |
| - run: npm run build | |
| signed_release: | |
| name: Signed macOS dry-run | |
| if: github.event_name == 'workflow_dispatch' && inputs.signed_release | |
| needs: verify | |
| permissions: | |
| contents: write | |
| uses: ./.github/workflows/publish-release.yml | |
| with: | |
| tag: ${{ inputs.release_tag }} | |
| ref: ${{ github.sha }} | |
| dry_run: true | |
| secrets: inherit |