diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ba6c64a..47fd577 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -44,6 +44,9 @@ jobs: if: steps.yarn-cache.outputs.cache-hit != 'true' run: yarn --pure-lockfile + - name: Set Auth Token + run: npm config set //registry.npmjs.org/:_authToken ${{ secrets.NPM_TOKEN }} + - name: Set new version run: yarn workspace lucide version --new-version ${{ needs.pre-build.outputs.VERSION }} --no-git-tag-version @@ -55,8 +58,6 @@ jobs: - name: Publish run: yarn workspace lucide publish - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - name: Commit package.json run: | @@ -88,6 +89,9 @@ jobs: if: steps.yarn-cache.outputs.cache-hit != 'true' run: yarn --pure-lockfile + - name: Set Auth Token + run: npm config set //registry.npmjs.org/:_authToken ${{ secrets.NPM_TOKEN }} + - name: Set package.json version lucide run: yarn workspace lucide-react version --new-version ${{ needs.pre-build.outputs.VERSION }} --no-git-tag-version @@ -99,8 +103,6 @@ jobs: - name: Publish run: yarn workspace lucide-react publish - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - name: Commit package.json run: | @@ -132,6 +134,9 @@ jobs: if: steps.yarn-cache.outputs.cache-hit != 'true' run: yarn --pure-lockfile + - name: Set Auth Token + run: npm config set //registry.npmjs.org/:_authToken ${{ secrets.NPM_TOKEN }} + - name: Set new version run: yarn workspace lucide-vue version --new-version ${{ needs.pre-build.outputs.VERSION }} --no-git-tag-version @@ -143,8 +148,6 @@ jobs: - name: Publish run: yarn workspace lucide-vue publish - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - name: Commit package.json run: |