From 4f169120de75417b84248e9c28a80c4e979a1701 Mon Sep 17 00:00:00 2001 From: Tobias Schneider Date: Mon, 28 Nov 2022 20:33:18 +0100 Subject: [PATCH] update workflow --- .github/workflows/{publish-main.yml => publish-pre.yml} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename .github/workflows/{publish-main.yml => publish-pre.yml} (83%) diff --git a/.github/workflows/publish-main.yml b/.github/workflows/publish-pre.yml similarity index 83% rename from .github/workflows/publish-main.yml rename to .github/workflows/publish-pre.yml index 5f994f5..8a59566 100644 --- a/.github/workflows/publish-main.yml +++ b/.github/workflows/publish-pre.yml @@ -1,4 +1,4 @@ -name: Publish (main) +name: Publish (pre) on: release: @@ -20,11 +20,11 @@ jobs: - name: Publish to npmjs env: NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} - run: npm publish --tag latest --access public + run: npm publish --tag pre --access public - uses: actions/setup-node@v1 with: registry-url: https://npm.pkg.github.com/ - name: Publish to GPR env: NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} - run: npm publish --tag latest --access public \ No newline at end of file + run: npm publish --tag pre --access public \ No newline at end of file