Skip to content

Commit

Permalink
fix: NPM packages cannot be published
Browse files Browse the repository at this point in the history
in #356 it was mentioned, that the upload did not
work.
First issue seems to be, that the package.json cannot
be found. The root cause seems to be, that the
working directory is not correct.

This should work
  • Loading branch information
carstencodes committed Dec 18, 2023
1 parent c72c4ac commit e71a57c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/publish_npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,5 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npm publish
working-directory: ./bdist/js
if: ${{ env.NODE_AUTH_TOKEN != '' }}

0 comments on commit e71a57c

Please sign in to comment.