From 554aeee7db726e9dc6191ce10acabff356f0ae4b Mon Sep 17 00:00:00 2001 From: Mike Monteith Date: Thu, 18 Apr 2024 18:33:07 +0100 Subject: [PATCH] WIP --- .github/workflows/publish.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 20545c9..33bb37c 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -16,7 +16,8 @@ jobs: node-version: '20' registry-url: 'https://registry.npmjs.org' - run: npm ci - - run: npm publish ${IS_PRERELEASE:+--tag=prerelease} + - run: echo npm publish ${IS_PRERELEASE:+--tag=prerelease} + - run: npm publish --tag=prerelease env: NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}} IS_PRERELEASE: ${{github.event.release.prerelease}}