YeonGyu-Kim
cc5e9d1e9b
fix(ci): add baseline CPU variant binaries for legacy hardware support
...
Closes #2121
2026-02-26 21:00:45 +09:00
YeonGyu-Kim
0d76874632
ci(publish): isolate executor.test.ts to prevent mock contamination
2026-02-22 02:53:38 +09:00
YeonGyu-Kim
6dc8b7b875
fix(ci): sync publish.yml test steps with ci.yml to prevent mock pollution
2026-02-15 13:37:25 +09:00
YeonGyu-Kim
4f3371ce2c
fix(publish): use generate-changelog.ts for contributor thanks
...
- Replace inline bash changelog with script/generate-changelog.ts
- Update /publish command with layered release notes structure
- Add preview step and clear enhanced summary guidelines
2026-02-13 14:07:39 +09:00
YeonGyu-Kim
953b1f98c9
fix(ci): use regex variables for bash 5.2+ compatibility in changelog generation
2026-02-04 15:00:31 +09:00
justsisyphus
c83150d9ea
feat(ci): auto-generate structured release notes from conventional commits
2026-02-01 15:34:19 +09:00
justsisyphus
6667ace7ca
fix(ci): remove deleted compaction-context-injector from test paths
2026-02-01 15:03:13 +09:00
justsisyphus
4e529b74e0
revert: remove unnecessary NODE_AUTH_TOKEN from publish.yml (OIDC works)
2026-01-30 13:54:46 +09:00
justsisyphus
90eec0a369
fix: add NODE_AUTH_TOKEN env to main publish workflow
2026-01-30 13:50:55 +09:00
justsisyphus
aa03d9b811
ci: sync publish.yml test isolation with ci.yml
2026-01-28 16:18:21 +09:00
justsisyphus
38156d49f3
ci: use find/xargs to exclude mock-heavy test files
2026-01-28 01:01:45 +09:00
justsisyphus
897eea0263
ci: isolate mock-heavy test files to prevent parallel pollution
2026-01-28 01:00:17 +09:00
justsisyphus
7f2eb0a568
refactor(ci): separate platform publish into dedicated workflow
...
- publish.yml: main package only, triggers platform workflow on success
- publish-platform.yml: dedicated workflow with fresh OIDC token per run
- Fixes OIDC token expiration during large binary uploads (~40MB+)
- Platform workflow can also be triggered manually via workflow_dispatch
2026-01-22 11:22:26 +09:00
justsisyphus
ba756d7533
fix(publish): force push tags in republish mode
2026-01-22 11:04:59 +09:00
justsisyphus
8b820c5374
refactor(publish): parallel platform jobs with fresh OIDC tokens per job
...
- Split monolithic publish into build + parallel publish-platform + publish-main + release jobs
- Each platform package gets its own OIDC token (fixes token expiration during large binary uploads)
- Add --prepare-only flag to publish.ts for build step version sync
- Matrix strategy: 7 parallel platform jobs
- publish-main waits for all platforms before publishing main package
2026-01-22 10:58:35 +09:00
justsisyphus
3bea6a043d
fix(publish): robust error handling, republish mode, separate tag/branch push
...
- Fix 404 error handling: no longer incorrectly marks failed publishes as 'already published'
- Add REPUBLISH mode: allows re-publishing missing platform packages without version check
- Separate tag and branch push: tag push (critical) succeeds even if branch push fails
- Fix changelog for beta releases: compares against previous beta tag instead of latest stable
- Add checkPackageVersionExists for accurate E403 error handling
2026-01-22 10:40:39 +09:00
justsisyphus
710670660c
feat(publish): add skip_platform input to workflow
2026-01-19 15:30:21 +09:00
justsisyphus
dec35d28a7
fix(ci): make merge-to-master non-fatal when workflow files change
2026-01-17 18:05:53 +09:00
justsisyphus
1f493cc921
fix(ci): add workflows permission for pushing to master
2026-01-17 18:05:00 +09:00
justsisyphus
ef7276a46a
fix(ci): stash before checkout in merge step
2026-01-17 17:58:54 +09:00
justsisyphus
c0be58b2ce
Revert "ci: skip platform packages (already published manually)"
...
This reverts commit beab0155126c1aa4c5d7089937d6d4b3dab4a1a5.
2026-01-17 17:46:16 +09:00
justsisyphus
beab015512
ci: skip platform packages (already published manually)
2026-01-17 17:45:33 +09:00
justsisyphus
ec2cf22449
fix(ci): enable platform binaries publishing
2026-01-17 16:48:44 +09:00
justsisyphus
0230e71bc6
fix(ci): skip platform packages for now (OIDC not configured)
2026-01-16 02:38:26 +09:00
justsisyphus
f658544cd6
fix(ci): add NPM_TOKEN for npm publish authentication
2026-01-16 02:31:12 +09:00
justsisyphus
396043a122
fix(ci): add registry-url to setup-node for OIDC auth
2026-01-16 02:25:51 +09:00
justsisyphus
9854e9f6e5
Revert "fix(ci): add NPM_TOKEN support for npm publishing"
...
This reverts commit 5de3d4fb7d4fd68d67b2d3d59d2b58b49c0aae5b.
2026-01-16 02:20:15 +09:00
justsisyphus
5de3d4fb7d
fix(ci): add NPM_TOKEN support for npm publishing
...
npm revoked all classic tokens. Workflow now requires NPM_TOKEN secret
with granular access token for publishing.
2026-01-16 01:23:00 +09:00
justsisyphus
7a9e604b2d
fix(ci): revert publish runner to ubuntu-latest for npm OIDC
...
macOS runner breaks npm OIDC trusted publishing. Bun can cross-compile
all platform binaries on ubuntu, so macOS runner is not needed.
2026-01-16 01:17:22 +09:00
justsisyphus
6670754efe
fix(ci): add registry-url to setup-node for npm OIDC auth
...
setup-node requires registry-url to configure .npmrc for OIDC authentication
2026-01-16 01:10:37 +09:00
justsisyphus
37d4aec4d0
fix(ci): use bunx tsc instead of bare tsc in publish workflow
...
tsc is not in PATH when installed via bun - use bunx to run from node_modules/.bin
2026-01-16 00:55:12 +09:00
Kenny
c67ca8275e
feat: Bun single-file executable distribution ( #819 )
...
* feat: add Bun single-file executable distribution
- Add 7 platform packages for standalone CLI binaries
- Add bin/platform.js for shared platform detection
- Add bin/oh-my-opencode.js ESM wrapper
- Add postinstall.mjs for binary verification
- Add script/build-binaries.ts for cross-compilation
- Update publish workflow for multi-package publishing
- Add CI guard against @ast-grep/napi in CLI
- Add unit tests for platform detection (12 tests)
- Update README to remove Bun runtime requirement
Platforms supported:
- macOS ARM64 & x64
- Linux x64 & ARM64 (glibc)
- Linux x64 & ARM64 (musl/Alpine)
- Windows x64
Closes #816
* chore: remove unnecessary @ast-grep/napi CI check
* chore: gitignore compiled platform binaries
* fix: use require() instead of top-level await import() for Bun compile compatibility
* refactor: use static ESM import for package.json instead of require()
2026-01-16 00:33:07 +09:00
justsisyphus
4d9c664694
ci: improve publish workflow UX with beta release example ( #760 )
...
* ci: improve publish workflow UX with beta release example
* fix: remove non-existent google-auth.ts from build, add missing --external flag
---------
Co-authored-by: justsisyphus <justsisyphus@users.noreply.github.com>
2026-01-14 10:59:33 +09:00
YeonGyu-Kim
fd8e62fba3
fix(publish): include CLI build step to ensure dist/cli/index.js is packaged in npm release
...
The CLI module was missing from the npm package because the publish workflow
did not include the 'bun build src/cli/index.ts' step. This caused 'bunx oh-my-opencode
install' to fail with missing dist/cli/index.js at runtime. Added explicit CLI build
and verification step to prevent this regression.
🤖 Generated with assistance of [OhMyOpenCode](https://github.com/code-yeongyu/oh-my-opencode )
2025-12-24 02:06:57 +09:00
YeonGyu-Kim
810181cccf
ci: auto-merge to master after publish
...
🤖 Generated with assistance of OhMyOpenCode (https://github.com/code-yeongyu/oh-my-opencode )
2025-12-21 18:09:21 +09:00
YeonGyu-Kim
c4186bcca2
feat(ci): add test and typecheck gates to publish workflow
...
- Requires test and typecheck jobs to pass before publishing
- Prevents publishing if tests or type checks fail
- Improves release quality assurance
🤖 Generated with assistance of OhMyOpenCode (https://github.com/code-yeongyu/oh-my-opencode )
2025-12-20 12:49:56 +09:00
YeonGyu-Kim
9d10de51c9
feat(ci): implement automatic draft release management
...
- Add draft-release job in ci.yml that creates/updates draft release with tag 'next' and title 'Upcoming Changes 🍿 '
- Generate release notes based on commits since latest published release
- Add step in publish.yml to delete draft release after successful publish
- Follows indentcorp/backend pattern for automatic draft release management
🤖 Generated with assistance of OhMyOpenCode (https://github.com/code-yeongyu/oh-my-opencode )
2025-12-19 19:22:01 +09:00
Junho Yeo
356bd1dff3
fix(ci): prevent publish workflow from running on forks ( #34 )
2025-12-13 14:48:18 +09:00
YeonGyu-Kim
36ef885141
fix: trust @ast-grep/napi in CI to enable native module install scripts
2025-12-05 04:29:40 +09:00
YeonGyu-Kim
909ce37826
fix: remove --ignore-scripts from bun install, add build verification step
2025-12-05 04:19:13 +09:00
YeonGyu-Kim
4dadd51fe7
fix: upgrade to node 24 and npm@latest for OIDC trusted publishing (requires npm 11.5.1+)
2025-12-05 03:11:52 +09:00
YeonGyu-Kim
c4d247a8df
fix: use npm config instead of registry-url for OIDC tokenless publishing
2025-12-05 03:09:09 +09:00
YeonGyu-Kim
10591cb1ff
fix: restore registry-url for OIDC auth
2025-12-05 03:05:39 +09:00
YeonGyu-Kim
80a7f56066
fix: remove registry-url to enable OIDC trusted publishing
2025-12-05 03:01:52 +09:00
YeonGyu-Kim
02e00873a0
fix: add NODE_AUTH_TOKEN for npm publish
2025-12-05 02:59:58 +09:00
YeonGyu-Kim
41918af852
fix: move build step to workflow to avoid PATH issues
2025-12-05 02:58:27 +09:00
YeonGyu-Kim
a3cea59001
fix: use bun run for publish script execution
2025-12-05 02:56:58 +09:00
YeonGyu-Kim
7fc2ce62dd
feat: add npm publish workflow with Trusted Publishing
2025-12-05 01:38:04 +09:00