|
|
@@ -3,8 +3,20 @@ name: CI
|
|
|
on:
|
|
|
push:
|
|
|
branches: [main, master]
|
|
|
+ paths-ignore:
|
|
|
+ - '**/*.md'
|
|
|
+ - 'docs/**'
|
|
|
+ - '.all-contributorsrc'
|
|
|
pull_request:
|
|
|
branches: [main, master]
|
|
|
+ paths-ignore:
|
|
|
+ - '**/*.md'
|
|
|
+ - 'docs/**'
|
|
|
+ - '.all-contributorsrc'
|
|
|
+
|
|
|
+concurrency:
|
|
|
+ group: ${{ github.workflow }}-${{ github.ref }}
|
|
|
+ cancel-in-progress: true
|
|
|
|
|
|
jobs:
|
|
|
test:
|
|
|
@@ -37,32 +49,3 @@ jobs:
|
|
|
|
|
|
- name: Build
|
|
|
run: bun run build
|
|
|
-
|
|
|
- package-smoke:
|
|
|
- runs-on: ${{ matrix.os }}
|
|
|
-
|
|
|
- strategy:
|
|
|
- matrix:
|
|
|
- os: [ubuntu-latest, macos-latest]
|
|
|
- bun-version: [latest]
|
|
|
-
|
|
|
- steps:
|
|
|
- - name: Checkout code
|
|
|
- uses: actions/checkout@v4
|
|
|
-
|
|
|
- - name: Setup Bun
|
|
|
- uses: oven-sh/setup-bun@v2
|
|
|
- with:
|
|
|
- bun-version: ${{ matrix.bun-version }}
|
|
|
-
|
|
|
- - name: Install dependencies
|
|
|
- run: bun install --frozen-lockfile
|
|
|
-
|
|
|
- - 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
|