From 7f1c4e0cd6c4c4b9269fe4efe93ed1f9523fc459 Mon Sep 17 00:00:00 2001 From: Kevin Jones Date: Sun, 14 Jun 2026 21:12:57 +0100 Subject: [PATCH] fix: publish prereleases with beta tag --- .github/workflows/Publish.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/Publish.yml b/.github/workflows/Publish.yml index acf52c0..d216836 100644 --- a/.github/workflows/Publish.yml +++ b/.github/workflows/Publish.yml @@ -23,7 +23,11 @@ jobs: pnpm install pnpm build pnpm test - pnpm publish --access public --no-git-checks + if [ "${{ github.event.release.prerelease }}" = "true" ]; then + pnpm publish --access public --no-git-checks --tag beta + else + pnpm publish --access public --no-git-checks + fi env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}