From e205ffeac7a09833c2b681496cec59d812990009 Mon Sep 17 00:00:00 2001 From: Harald Fernengel <547273+haraldF@users.noreply.github.com> Date: Thu, 4 Apr 2024 13:48:59 +0200 Subject: [PATCH] Fix CI --- .github/workflows/ci-workflow.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci-workflow.yaml b/.github/workflows/ci-workflow.yaml index bef77aa..42050a4 100644 --- a/.github/workflows/ci-workflow.yaml +++ b/.github/workflows/ci-workflow.yaml @@ -28,12 +28,13 @@ jobs: uses: actions/upload-artifact@v4 with: path: ldbdump-*.tgz - - name: publish to npm + - uses: actions/setup-node@v4 if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') - uses: actions/setup-node@v4 with: node-version: '20.x' registry-url: 'https://registry.npmjs.org' - run: npm publish ldbdump-*.tgz env: NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} + - name: publish to npm + if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') + run: npm publish ldbdump-*.tgz