Skip to content

Commit

Permalink
fixed issues with publishing workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
pranav-kural committed Jul 7, 2024
1 parent aaa8581 commit 5082da8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/publish-github.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ jobs:
- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Set NPM Auth Token
run: pnpm config set //registry.npmjs.org/:_authToken ${NPM_TOKEN}
- name: Publish 🚀
run: pnpm publish --no-git-checks
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
1 change: 1 addition & 0 deletions .github/workflows/publish-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ jobs:
release:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: write
packages: write
steps:
Expand Down

0 comments on commit 5082da8

Please sign in to comment.