Skip to content

Commit

Permalink
dynamically retrieve pkg path
Browse files Browse the repository at this point in the history
  • Loading branch information
dskvr committed Jan 19, 2024
1 parent f7087b9 commit 01fef4a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/publish-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ jobs:
node-version: ${{ matrix.nodeVersion }}

- name: Install Package
run: cd ./packages/${{ matrix.package }} && yarn install
run: |
PATH=$(yarn workspaces info --json | jq '.data | fromjson | ."@nostrwatch/${{ matrix.package }}".location')
cd $PATH && yarn install
- id: publish
uses: JS-DevTools/npm-publish@v3
Expand Down

0 comments on commit 01fef4a

Please sign in to comment.