Skip to content

Commit

Permalink
Set working directory for publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
p10ns11y committed Nov 6, 2024
1 parent a49a375 commit 5068fed
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,17 @@ jobs:
run: npm ci

- name: Build project

run: npx trubo run build

- name: Publish to GitHub Packages
working-directory: packages/core
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npm publish --registry=https://npm.pkg.github.com/

- name: Publish to npm
working-directory: packages/core
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npm publish --registry=https://registry.npmjs.org/ --access public

0 comments on commit 5068fed

Please sign in to comment.