core-agent-ide/codex-cli/scripts
Michael Bolin 39a4d4ed8e
fix: try building the npm package in CI (#2043)
Historically, the release process for the npm module has been:

- I run `codex-rs/scripts/create_github_release.sh` to kick off a
release for the native artifacts.
- I wait until it is done.
- I run `codex-cli/scripts/stage_rust_release.py` to build the npm
release locally
- I run `npm publish` from my laptop

It has been a longstanding issue to move the npm build to CI. I may
still have to do the `npm publish` manually because it requires 2fac
with `npm`, though I assume we can work that out later.

Note I asked Codex to make these updates, and while they look pretty
good to me, I'm not 100% certain, but let's just merge this and I'll
kick off another alpha build and we'll see what happens?
2025-08-08 15:17:54 -07:00
..
build_container.sh fix: update scripts/build_container.sh to use pnpm instead of npm (#631) 2025-04-24 16:38:57 -07:00
init_firewall.sh feat: add common package registries domains to allowed-domains list (#414) 2025-04-29 12:07:00 -07:00
install_native_deps.sh feat: include Windows binary of the CLI in the npm release (#2040) 2025-08-08 14:44:35 -07:00
README.md docs: clarify the build process for the npm release (#1568) 2025-07-14 09:41:11 -07:00
run_in_container.sh feat: add common package registries domains to allowed-domains list (#414) 2025-04-29 12:07:00 -07:00
stage_release.sh feat: include Windows binary of the CLI in the npm release (#2040) 2025-08-08 14:44:35 -07:00
stage_rust_release.py fix: try building the npm package in CI (#2043) 2025-08-08 15:17:54 -07:00

npm releases

Run the following:

To build the 0.2.x or later version of the npm module, which runs the Rust version of the CLI, build it as follows:

./codex-cli/scripts/stage_rust_release.py --release-version 0.6.0