Skip to content

chore: release v2.0.0 (#18) #4

chore: release v2.0.0 (#18)

chore: release v2.0.0 (#18) #4

Workflow file for this run

# .github/workflows/release.yml — replaces the Changesets release workflow.
#
# `tegami ci` versions when pending .tegami/*.md changelogs exist (opening a
# "Version Packages" PR via the github plugin), otherwise it publishes from the
# committed .tegami/publish-lock.yaml.
name: Release
on:
push:
branches:
- main
concurrency: ${{ github.workflow }}-${{ github.ref }}
permissions:
contents: write # commit version bumps, push the Version Packages branch
id-token: write # npm trusted publishing (OIDC) — no NPM_TOKEN needed
pull-requests: write # open the Version Packages PR
jobs:
release:
name: Version & publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- uses: actions/setup-node@v6
with:
node-version: '24'
registry-url: 'https://registry.npmjs.org'
- uses: oven-sh/setup-bun@v2
- run: bun i
# The `padrone` package builds via its `prepack` hook, which Tegami runs
# through `bun run` when it packs the tarball — no explicit build step needed.
- name: Version & publish
run: bun run tegami ci
env:
GITHUB_TOKEN: ${{ github.token }}