Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
haraldF committed Apr 4, 2024
1 parent c27b18f commit e205ffe
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ci-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit e205ffe

Please sign in to comment.