Skip to content

Automate publishing to JSR and NPM #676

@MasterKale

Description

@MasterKale

Describe the issue

To date publishing packages has been a manual process - I increment a version number, write the changelog, then manually run the requisite publishing scripts locally.

Now that I'm publishing to JSR as well as NPM, though, it feels like I should try to automate this part of it completely. The fact that JSR has first-class support for publishing via CI turns this effort into mostly "figure out how to do this for NPM."

I think ideally I'd be able to do the following:

  1. Write the update
  2. Increment "version" in deno.json
  3. Write a corresponding entry in CHANGELOG.md
  4. Tag HEAD with the new version
  5. Push up HEAD + tag
  6. Create a new Release on GitHub
  7. CI publishes to JSR and NPM 🤖

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