Skip to content

Conversation

@harmony7
Copy link
Member

This PR modernizes the CI workflows in this repo

  1. Docs

    • Update docs workflow to use npm 22
    • Lock static publisher to the version that was newest at the time this was published last
      • This is important because the newer versions of static publisher don't work exactly the same way
  2. Release

    • Update to npm 22
    • Switch from yarn to npm
    • Switch from prepublish script to prepack script for running npm run test and npm run build
    • Switch from using .npmignore (denylist) to the files entry in package.json (allowlist) for specifying what goes into the final tarball
    • Switch from using auto to https://github.com/fastly/devex-reusable-workflows
    • Remove some unused dependencies

Now, instead of getting a bunch of canary releases in npm on each push

image

We'll control our version releases using a tag that starts with a v, the same as we do in other repos

I've double checked that the contents of the tarball that is built under the new process is compatible with the tarball from the 2.3.0 currently on npmjs.

@harmony7 harmony7 requested a review from a team February 10, 2026 13:56
@harmony7 harmony7 self-assigned this Feb 10, 2026
@harmony7 harmony7 requested review from kailan and removed request for a team February 10, 2026 13:56
Copy link
Member

@kailan kailan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great stuff, thanks Kats

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants