Skip to content

Commit

Permalink
ci: fix publish workflow (#224)
Browse files Browse the repository at this point in the history
closes #223
  • Loading branch information
danielpza authored Aug 7, 2024
1 parent e008cd7 commit 4bba8da
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
node-version: 22
cache: yarn
cache-dependency-path: "**/yarn.lock"
registry-url: "https://registry.npmjs.org"

- name: Install Packages
run: yarn install
Expand All @@ -30,9 +31,10 @@ jobs:
run: npx extract-changelog-release > RELEASE_BODY.md

- name: Publish to NPM
run: npm publish
run: yarn npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
YARN_NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Create GitHub Release
uses: ncipollo/release-action@v1
Expand Down

0 comments on commit 4bba8da

Please sign in to comment.