From 352aa0dad600bd99f50857482168c0aab5e21975 Mon Sep 17 00:00:00 2001 From: Sergio Pedercini Date: Sun, 31 Dec 2023 02:30:54 +0100 Subject: [PATCH] Fix release package workflow. --- .github/workflows/release_package.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release_package.yml b/.github/workflows/release_package.yml index 693249d..9cb95db 100644 --- a/.github/workflows/release_package.yml +++ b/.github/workflows/release_package.yml @@ -72,9 +72,9 @@ jobs: # Publish version to public repository - name: Publish - run: yarn npm publish --verbose --access public --tag ${{ env.RELEASE_TAG }} - env: - NODE_AUTH_TOKEN: ${{ secrets.NPMJS_ACCESS_TOKEN }} + run: | + echo "npmAuthToken: ${{ secrets.NPMJS_ACCESS_TOKEN }}" >> .yarnrc.yml + yarn npm publish --access public --tag ${{ env.RELEASE_TAG }} # Push repository changes - name: Push changes to repository