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