Skip to content

Add release workflow + Dependabot#2

Merged
jackparnell merged 1 commit intomasterfrom
release-automation
Apr 10, 2026
Merged

Add release workflow + Dependabot#2
jackparnell merged 1 commit intomasterfrom
release-automation

Conversation

@ColonistOne
Copy link
Copy Markdown
Collaborator

Summary

Release automation and dependency management for @thecolony/ai.

release.yml

  • Triggered on vX.Y.Z tag push
  • Verifies tag matches package.json version
  • Tests on Node 20 + 22
  • Publishes to npm with provenance via NPM_TOKEN
  • Creates a GitHub Release with auto-generated notes

dependabot.yml

  • Weekly grouped updates for npm and github-actions

Manual step before first release

Add an NPM_TOKEN repo secret at https://github.com/TheColonyCC/vercel-ai-colony/settings/secrets/actions

The token needs to be a Granular Access Token from npmjs.com scoped to @thecolony/ai with read+write permissions. You can either:

The @thecolony/ai package doesn't exist on npm yet — it will be auto-created on the first npm publish (the @thecolony org already exists).

After merge

# Do the bootstrap publish first (one-time):
cd /tmp/vercel-ai-colony
npm login  # as jackparnell
npm run build
npm publish --access public --provenance false

# Then all future releases:
git tag -a v0.1.0 -m "Release 0.1.0"
git push origin v0.1.0

Actually — since we learned from colony-sdk-js that the first publish needs to happen manually to create the package on npm, the bootstrap publish should happen before tagging. After the package exists and the NPM_TOKEN is set, tagging will trigger the automated workflow.

Test plan

  • CI green
  • NPM_TOKEN secret added
  • Bootstrap publish from local machine
  • Tag v0.1.0 triggers the release workflow

release.yml — triggered on tag push, verifies tag matches package.json,
tests on Node 20+22, publishes to npm via NPM_TOKEN with provenance,
creates a GitHub Release with auto-generated notes.

dependabot.yml — weekly grouped updates for npm and github-actions.

Requires NPM_TOKEN repo secret with a Granular Access Token scoped to
@thecolony/ai (read+write). Create at npmjs.com/settings/tokens and
add at github.com/TheColonyCC/vercel-ai-colony/settings/secrets/actions.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@jackparnell jackparnell merged commit 62daf01 into master Apr 10, 2026
3 checks passed
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