From a54203b24ed4baf5f6f583556fc394a1961ed211 Mon Sep 17 00:00:00 2001 From: Greg Martin Date: Fri, 17 Oct 2025 15:06:56 -0400 Subject: [PATCH] fix: deploy github action yarn config --- .github/workflows/deploy.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index c84473216..62fee2632 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -95,6 +95,7 @@ jobs: - name: Setup Publish Config run: | + yarn config set npmAuthToken "${{ secrets.NPM_TOKEN }}" git config user.email ${{ secrets.GH_EMAIL }} git config user.name ${{ secrets.GH_USER }} @@ -103,8 +104,6 @@ jobs: run: echo "sha=$(git rev-parse HEAD)" >> $GITHUB_OUTPUT - name: Version Packages - env: - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} run: | yarn nx affected --target version --parallel=1 @@ -123,8 +122,6 @@ jobs: - name: Publish if: steps.changes.outputs.has_changes == 'true' - env: - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} run: | yarn nx affected --target publish --parallel=1