Skip to content

Commit

Permalink
Use npm publish instead of yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
ccschmitz committed May 17, 2024
1 parent 950cd62 commit 15d6d4f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/publish-to-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,8 @@ jobs:
with:
node-version: 15.11.0
registry-url: https://registry.npmjs.org
- name: Install main dependencies
run: yarn install
- name: Publish
if: github.ref == 'refs/heads/main'
run: yarn publish --access public
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 15d6d4f

Please sign in to comment.