From e8ff830517fffe986d3377c23d7859c2e1059962 Mon Sep 17 00:00:00 2001 From: Eric Taylor Date: Wed, 10 Jun 2026 12:52:39 -0600 Subject: [PATCH] ci: use either alpha or latest tag --- .github/workflows/publish.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f32655407..4c08c9149 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -22,4 +22,10 @@ jobs: package-manager-cache: false # never use caching in release builds - run: yarn install --frozen-lockfile - run: yarn build:prod - - run: npm publish --tag=latest # Or: npm stage publish + - name: Publish to npm + run: | + if [[ "${GITHUB_REF_NAME}" == *alpha* ]]; then + npm publish --tag=alpha + else + npm publish --tag=latest + fi