Skip to content

Commit

Permalink
fix: setting up package location in npm github CI (#1074)
Browse files Browse the repository at this point in the history
Description
---
Fixes the package location problems of
#1073

Motivation and Context
---
Does not apply 

How Has This Been Tested?
---
Does not apply 

What process can a PR reviewer use to test or verify this change?
---
Does not apply 

Breaking Changes
---

- [x] None
- [ ] Requires data directory to be deleted
- [ ] Other - Please specify

---------

Co-authored-by: Stan Bondi <[email protected]>
  • Loading branch information
mrnaveira and sdbondi authored Jul 10, 2024
1 parent b3199a6 commit 565ed6a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/npm_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./bindings
working-directory: bindings
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
Expand All @@ -24,6 +24,7 @@ jobs:
id: publish
with:
token: ${{ secrets.NPM_TOKEN }}
package: bindings
- if: ${{ steps.publish.outputs.type }}
run: echo "Published to NPM registry '${{ steps.publish.outputs.name }}' version '${{ steps.publish.outputs.version }}'"

Expand All @@ -32,7 +33,7 @@ jobs:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./clients/javascript/wallet_daemon_client
working-directory: clients/javascript/wallet_daemon_client
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
Expand All @@ -43,6 +44,7 @@ jobs:
id: publish
with:
token: ${{ secrets.NPM_TOKEN }}
package: clients/javascript/wallet_daemon_client
- if: ${{ steps.publish.outputs.type }}
run: echo "Published to NPM registry '${{ steps.publish.outputs.name }}' version '${{ steps.publish.outputs.version }}'"

0 comments on commit 565ed6a

Please sign in to comment.