Skip to content

Switch dev environment to Bun, keep npm+Node for consumer testing#595

Draft
Copilot wants to merge 1 commit intomainfrom
copilot/switch-to-bun-development
Draft

Switch dev environment to Bun, keep npm+Node for consumer testing#595
Copilot wants to merge 1 commit intomainfrom
copilot/switch-to-bun-development

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 22, 2026

Moves the development toolchain to Bun while maintaining an npm+Node CI job to verify the package works correctly for consumers.

Changes

Bun as dev environment

  • .tool-versions: nodejs 18.17.0bun 1.3.11
  • package.json: dev script now uses bun run src/index.ts (Bun handles TypeScript natively); removes ts-node devDependency
  • bun.lock replaces package-lock.json; latter added to .gitignore

CI

  • lint-and-build job: uses oven-sh/setup-bun + bun install --frozen-lockfile, then runs lint and build via Bun
  • test job: uses actions/setup-node (Node 24) + npm install + npm test — exercises the consumer install path with npm+Node
  • Both jobs scoped to permissions: contents: read

@timrogers
Copy link
Copy Markdown
Owner

@copilot Create a PR to generate Windows, Linux and macOS binaries in CI (AMD64 and ARM), upload them as artifacts and then check that those binaries run

Copy link
Copy Markdown
Contributor Author

Copilot AI commented Mar 22, 2026

@timrogers I've opened a new pull request, #596, to work on those changes. Once the pull request is ready, I'll request review from you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants