Skip to content

Commit 05899c0

Browse files
committed
Stabilize CI and release workflows
1 parent 02156b7 commit 05899c0

3 files changed

Lines changed: 88 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
jobs:
1010
validate:
11-
runs-on: ubuntu-latest
11+
runs-on: macos-latest
1212

1313
steps:
1414
- name: Checkout
@@ -47,3 +47,32 @@ jobs:
4747

4848
- name: Local Conformance
4949
run: bun run test:conformance:local
50+
51+
linux-smoke:
52+
runs-on: ubuntu-latest
53+
54+
steps:
55+
- name: Checkout
56+
uses: actions/checkout@v4
57+
58+
- name: Setup Node
59+
uses: actions/setup-node@v4
60+
with:
61+
node-version: 24
62+
63+
- name: Setup Bun
64+
uses: oven-sh/setup-bun@v2
65+
with:
66+
bun-version: 1.3.6
67+
68+
- name: Install Dependencies
69+
run: bun install --frozen-lockfile
70+
71+
- name: Typecheck
72+
run: bun run typecheck
73+
74+
- name: Node Local Package Smoke
75+
run: bun run test:node-local-package
76+
77+
- name: Bun Server Package Smoke
78+
run: bun run test:bun-server-package

.github/workflows/release.yml

Lines changed: 54 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ permissions:
88
id-token: write
99

1010
jobs:
11-
publish:
12-
runs-on: ubuntu-latest
11+
validate:
12+
runs-on: macos-latest
1313

1414
steps:
1515
- name: Checkout
@@ -19,7 +19,6 @@ jobs:
1919
uses: actions/setup-node@v4
2020
with:
2121
node-version: 24
22-
registry-url: https://registry.npmjs.org
2322

2423
- name: Setup Bun
2524
uses: oven-sh/setup-bun@v2
@@ -43,6 +42,58 @@ jobs:
4342
bun run test:node-local-package
4443
bun run test:bun-server-package
4544
45+
linux-smoke:
46+
runs-on: ubuntu-latest
47+
48+
steps:
49+
- name: Checkout
50+
uses: actions/checkout@v4
51+
52+
- name: Setup Node
53+
uses: actions/setup-node@v4
54+
with:
55+
node-version: 24
56+
57+
- name: Setup Bun
58+
uses: oven-sh/setup-bun@v2
59+
with:
60+
bun-version: 1.3.6
61+
62+
- name: Install Dependencies
63+
run: bun install --frozen-lockfile
64+
65+
- name: Typecheck
66+
run: bun run typecheck
67+
68+
- name: Package Smoke Tests
69+
run: |
70+
bun run test:node-local-package
71+
bun run test:bun-server-package
72+
73+
publish:
74+
runs-on: macos-latest
75+
needs:
76+
- validate
77+
- linux-smoke
78+
79+
steps:
80+
- name: Checkout
81+
uses: actions/checkout@v4
82+
83+
- name: Setup Node
84+
uses: actions/setup-node@v4
85+
with:
86+
node-version: 24
87+
registry-url: https://registry.npmjs.org
88+
89+
- name: Setup Bun
90+
uses: oven-sh/setup-bun@v2
91+
with:
92+
bun-version: 1.3.6
93+
94+
- name: Install Dependencies
95+
run: bun install --frozen-lockfile
96+
4697
- name: Build Publishable Packages
4798
run: bun run build:npm-packages
4899

docs/releasing.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,10 @@ gh workflow run release.yml
7171
The GitHub workflow builds, validates, and publishes both packages with npm
7272
trusted publishing and provenance enabled.
7373

74+
The workflow currently runs the full repository validation on `macos-latest`
75+
and package smoke checks on both macOS and Ubuntu. This keeps the release gate
76+
stable while still verifying that the published package shapes work on Linux.
77+
7478
## Build Notes
7579

7680
The release pipeline is intentionally split:

0 commit comments

Comments
 (0)