From bea3f956f752314c776ff91c8a822fb6caf81023 Mon Sep 17 00:00:00 2001 From: Matheus Date: Tue, 13 Aug 2024 21:13:41 -0300 Subject: [PATCH] Fix: update npm_publish to use semantic-release-action@v3 --- .github/workflows/npm_publish.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/npm_publish.yml b/.github/workflows/npm_publish.yml index 8f4d0d1..84aa497 100644 --- a/.github/workflows/npm_publish.yml +++ b/.github/workflows/npm_publish.yml @@ -49,5 +49,8 @@ jobs: - name: "Run build" run: yarn run build # Semantic release is configured to create a tag and publish the package to npm - - name: "Version and Npm publish" - run: npx semantic-release + - name: Semantic Release + uses: cycjimmy/semantic-release-action@v3 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + NPM_TOKEN: ${{ secrets.NPM_TOKEN }}