Skip to content

Commit

Permalink
Switch gh action by using yarn publish directly
Browse files Browse the repository at this point in the history
  • Loading branch information
elboletaire authored and jordipainan committed Jan 17, 2023
1 parent 32885b3 commit f4ce72c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/on-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ jobs:
with:
node-version: '18.x'
registry-url: 'https://registry.npmjs.org'
scope: '@vocdoni'
- run: yarn
- run: yarn build
- uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}
- run: yarn publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit f4ce72c

Please sign in to comment.