Skip to content

Commit

Permalink
Update publish-sdk.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
GabrielePicco authored Sep 27, 2023
1 parent 5823851 commit 5539ab2
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/publish-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,10 @@ jobs:
npm i -g @coral-xyz/anchor-cli@${{ env.anchor_version }} ts-mocha typescript
anchor test
- run: npm ci
- run: npm set //registry.npmjs.org/:_authToken ${{ secrets.NPM_TOKEN }}
- run: npm run build -w client/sdk/ && yarn lint --fix && npm publish -w client/sdk/
- run: |
npm set //registry.npmjs.org/:_authToken ${{ secrets.NPM_TOKEN }}
npm run build -w client/sdk/
yarn lint --fix
npm publish -w client/sdk/
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 5539ab2

Please sign in to comment.