Skip to content

npm publish of 0.8.13 failed: NPM_TOKEN appears expired/revoked (E404 on PUT) #57

Description

@TMHSDigital

The v0.8.13 release (PR #56) tagged and created the GitHub release, but the dispatched publish run failed:

Since @tmhs/screencast-mcp@0.8.12 is live and public, a 404 on PUT is npm masking an auth/permission failure. Publishes last succeeded 2026-06-16; the NPM_TOKEN secret is present (the workflow's guard passed) but is being rejected — consistent with token expiry under npm's granular-token lifetime limits.

To fix (maintainer action required):

  1. Create a new granular access token on npmjs.com with read/write access to @tmhs/screencast-mcp (or the @tmhs scope), and update the NPM_TOKEN repo secret. Alternatively, configure npm trusted publishing for this repo/workflow — publish.yml already sets id-token: write and its own skip-message suggests this path, which removes token rotation entirely.
  2. Re-run: gh workflow run publish.yml --ref main (idempotent; it skips already-published versions).

Until then, npm remains at 0.8.12 while the repo and GitHub release are at 0.8.13.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions