Skip to content

Commit

Permalink
Fix publish (#4240)
Browse files Browse the repository at this point in the history
* fix npm publish

* fix npm publish
  • Loading branch information
pngwn authored May 16, 2023
1 parent d0e0c81 commit f7a8948
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/publish-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ jobs:
cache: pnpm
cache-dependency-path: pnpm-lock.yaml
node-version: 18
registry-url: "https://registry.npmjs.org"
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: install dependencies
run: pnpm install --frozen-lockfile
- name: Build packages
Expand All @@ -40,6 +42,7 @@ jobs:
publish: pnpm ci:publish
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GRADIO_PAT }}
- name: label PR
if: ${{ steps.changesets.outputs.pullRequestNumber != '' && steps.changesets.outputs.pullRequestNumber != 'undefined' }}
Expand Down

0 comments on commit f7a8948

Please sign in to comment.