diff --git a/.github/workflows/publish-packages.yml b/.github/workflows/publish-packages.yml index d16686d63d995..1ec60e60c6af9 100644 --- a/.github/workflows/publish-packages.yml +++ b/.github/workflows/publish-packages.yml @@ -126,13 +126,13 @@ jobs: - name: Publish working-directory: packages/${{ matrix.package }} env: - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} run: | # Create a unique version using the commit SHA as a prerelease identifier # This ensures we can publish multiple times from the same codebase with unique versions - npm version --no-git-tag-version 0.0.0-$COMMIT_SHA + npm version --no-git-tag-version 1.0.1-$COMMIT_SHA # Publish the package to the npm registry with public access flag - pnpm publish --access public + pnpm publish --access public --no-git-checks - name: Notify on Manual Release if: ${{ github.event_name == 'workflow_dispatch' }} @@ -142,7 +142,7 @@ jobs: SLACK_ICON: https://github.com/nodejs.png?size=48 SLACK_TITLE: ':rocket: Package Published: ${{ matrix.package }}' SLACK_MESSAGE: | - :package: *Package*: `${{ matrix.package }}` () + :package: *Package*: `${{ matrix.package }}` () :bust_in_silhouette: *Published by*: ${{ github.triggering_actor }} :octocat: *Commit*: SLACK_USERNAME: nodejs-bot