From 85ae63015e68f387fb43c53adc7a9793fd3bd4f4 Mon Sep 17 00:00:00 2001 From: Jack Platten Date: Sun, 24 May 2026 15:32:25 -0700 Subject: [PATCH] add workflow --- .github/workflows/publish.yaml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/publish.yaml diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml new file mode 100644 index 0000000..abca09e --- /dev/null +++ b/.github/workflows/publish.yaml @@ -0,0 +1,27 @@ +name: Publish Package + +on: + push: + tags: + - "v*" + +permissions: + id-token: write # Required for OIDC + contents: read + +jobs: + publish: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v6 + + - uses: actions/setup-node@v6 + with: + node-version: "24" + registry-url: "https://registry.npmjs.org" + package-manager-cache: false # never use caching in release builds + - uses: pnpm/action-setup@v4 + - run: pnpm ci + - run: pnpm run build + - run: pnpm test + - run: pnpm publish --access public -- 2.51.2