| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- name: Package Smoke
- on:
- workflow_dispatch:
- pull_request:
- branches: [main, master]
- paths:
- - '.github/workflows/package-smoke.yml'
- - 'package.json'
- - 'bun.lock'
- - 'bunfig.toml'
- - 'tsconfig.json'
- - 'oh-my-opencode-slim.schema.json'
- - 'LICENSE'
- - 'README*.md'
- - 'scripts/generate-schema.ts'
- - 'scripts/verify-opencode-host-smoke.ts'
- - 'scripts/verify-release-artifact.ts'
- - 'src/**'
- push:
- tags: ['v*']
- concurrency:
- group: ${{ github.workflow }}-${{ github.ref }}
- cancel-in-progress: true
- jobs:
- package-smoke:
- runs-on: ${{ matrix.os }}
- timeout-minutes: 15
- strategy:
- matrix:
- os: [ubuntu-latest, macos-latest]
- steps:
- - name: Checkout code
- uses: actions/checkout@v4
- - name: Setup Bun
- uses: oven-sh/setup-bun@v2
- - name: Install dependencies
- run: bun ci
- - name: Build
- run: bun run build
- - name: Verify packaged release artifact
- run: bun run verify:release
- - name: Verify OpenCode host smoke test
- run: bun run verify:host-smoke
|