Skip to content

Adopt issue-driven development with automated release publishing #9

Description

@firejune

Goal

Bring this repo to the same operating model as sibling packages (e.g. spine-html):

  • Open items live as GitHub issues — known gaps, deferred work, and roadmap items are filed here and closed with Closes #N commits/PRs (issues AssetRestorer.release(path) — revoke and cache eviction as one operation #1Font format support (WOFF2/WOFF) #8 already follow this).
  • Releases are cut by automation, not by hand: a release-please (or equivalent) workflow opens the release PR, and merging it publishes to npm via Trusted Publishing (OIDC — no long-lived npm tokens in the repo).
  • End state: an automation agent can pick up an issue, resolve it on a branch, open a PR, and the merge triggers the release pipeline — maintainer involvement reduced to review/merge.

Steps

  1. Add a GitHub-hosted release workflow (release-please or equivalent) covering both published packages in this repo.
  2. Configure npm Trusted Publishing for the published package(s) on npmjs.com (maintainer action — the npm-side form must be filled by the package owner).
  3. Enable the repo setting that allows Actions to create pull requests (required for the release PR).
  4. Retire manual npm publish once the pipeline has cut one verified release.

Notes

  • v0.1.3 history was reconstructed and tagged (v0.1.3), so the repo is now release-ready: the tree byte-matches the published dist.
  • Trusted Publishing requires GitHub-hosted runners (it does not work from self-hosted runners) — keep the release job on ubuntu-latest.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions