Skip to content

Release can publish without the full CI gates; npm is unpinned in release.yml #78

Done

Description

@chrnx-dev

A release can publish without the full CI gates:

  • main has no required status checks (branches/main/protection → checks: null); develop requires build + deno/bun/edge, with 0 reviews and admins not enforced.
  • Neither release.yml nor prepublishOnly runs api:check, format:check or the deno/bun/edge suites, so a tag on a commit that never passed CI still publishes to npm and JSR.
  • release.yml installs npm@latest right before a permanent publish.

Fix: require the CI checks on main (or have release.yml verify the tag commit's CI status), and pin npm to a known version ≥ 11.5.1.

Activity

  1. added this to the Stable milestone on Nov 20, 2026
  2. added
    area: release
    on Nov 20, 2026
  3. chrnx-dev commented on Nov 24, 2026

    @chrnx-dev
    ContributorAuthor

    Fixed in 26.11.0-rc.2.

    • 934b9e7 ci(release): run the full CI gates on the tag, pin npm (PR chore(release): 26.11.0-rc.2 #93): release.yml pins npm to 11.21.3 and runs format:check, api:check and the deno/bun/edge suites before publishing.
    • cc54e58 ci(release): build before api:check (PR ci(release): build before api:check #94): api:check needs dist/.
    • Branch protection on main now requires build, runtimes (deno), runtimes (bun) and runtimes (edge), with admins enforced.
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

    area: release

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions