From 427327d5b77684663dcdee894be1a4bc18ecf13b Mon Sep 17 00:00:00 2001 From: Blake Embrey Date: Mon, 23 Feb 2026 13:16:56 -0800 Subject: [PATCH] Add release workflow --- .github/workflows/release.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..7d2d07a --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,28 @@ +name: release + +on: + push: + tags: + - "v*" + +permissions: + id-token: write # Required for NPM trusted publishing. + contents: read + +jobs: + npm: + name: Publish to npm + runs-on: ubuntu-latest + environment: + name: release + permissions: + contents: read + id-token: write + steps: + - uses: actions/checkout@v5 + - uses: actions/setup-node@v4 + with: + node-version: "22" + - run: npm ci + - run: npm test + - run: npm publish