Skip to content

Commit

Permalink
use as command
Browse files Browse the repository at this point in the history
  • Loading branch information
pLabarta committed Nov 6, 2024
1 parent a550202 commit e138037
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/publish-typescript-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,11 @@ jobs:
pnpm i
pnpm build
- name: Publish typescript API
run: |
cd typescript-api
if [ "${{ github.event.inputs.DryRun }}" == "true" ]; then
pnpm publish --no-git-checks --dry-run
else
pnpm publish --no-git-checks
fi
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_TOKEN }}
package: typescript-api/package.json
dry-run: ${{ github.event.inputs.DryRun }}
registry: https://registry.npmjs.org/
access: public
command: pnpm publish

0 comments on commit e138037

Please sign in to comment.