Skip to content

ci: add mise, changesets and the release workflows - #1

Merged
rqbazan merged 1 commit into
mainfrom
chore/release-tooling
Oct 16, 2026
Merged

rqbazan merged 1 commit into
mainfrom
chore/release-tooling

Conversation

@rqbazan

@rqbazan rqbazan commented Oct 16, 2026

Copy link
Copy Markdown
Member

Sets brand up to release @variablelab/brand to npm, using the same setup as theme-toggle, except that the tools are installed with mise.

  • mise: mise.toml (node 24, pnpm 10.30.3, lockfile = true) and mise.lock, which pins node 24.21.0 and pnpm 10.30.3 with checksums. CI installs them with jdx/mise-action and doesn't use setup-node or setup-pnpm.

  • Changesets:

    • @changesets/cli 2 and @changesets/changelog-github, the versions the other repos already release with;
    • a minor changeset, "First release", that takes the package to 0.1.0.
  • Workflows:

    • CI / Check runs pnpm check on every pull request;
    • Release runs on every push to main: it opens the version PR and publishes through trusted publishing (OIDC);
    • Workflow audit runs zizmor.

    Every action is pinned to the SHAs already in use in theme-toggle and env.

  • package.json: no longer private.

  • AGENTS.md: covers how the tools are installed and how releasing works.

Before merging

  1. Give brand access to the VLAND_BOT_PRIVATE_KEY org secret.

  2. Publish 0.0.0 by hand, because trusted publishing can't create a package. Then bind it:

    npm trust github @variablelab/brand --file release.yml --repo withvariablelab/brand --allow-publish

Once this merges, Release opens "chore: update versions". Merging that PR publishes 0.1.0 from CI.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Bo1kS1kiAngWk8dkB7qJeQ

- mise installs node 24 and pnpm 10.30.3, pinned in mise.lock.
- Changesets versions the package; a minor changeset takes it to 0.1.0.
- CI runs `pnpm check` on pull requests; Release opens the version PR
  and publishes to npm through trusted publishing; Workflow audit runs zizmor.
- The package is no longer private.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Bo1kS1kiAngWk8dkB7qJeQ
@changeset-bot

changeset-bot Bot commented Oct 16, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 64b6edf

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@variablelab/brand Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@rqbazan
rqbazan merged commit 5ff0415 into main Oct 16, 2026
2 checks passed
@rqbazan
rqbazan deleted the chore/release-tooling branch October 16, 2026 22:17
@vland-bot vland-bot Bot mentioned this pull request Oct 16, 2026
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.

1 participant