diff --git a/.github/workflows/wf_publish-npm.yml b/.github/workflows/wf_publish-npm.yml index 13a991c9a..300fb54cd 100644 --- a/.github/workflows/wf_publish-npm.yml +++ b/.github/workflows/wf_publish-npm.yml @@ -10,11 +10,6 @@ on: - '.vscode/**' - 'packages/**/.vscode/**' -permissions: - id-token: write # Required for OIDC - pull-requests: write - - jobs: integration-tests: if: "!contains(github.event.head_commit.author.name, 'GITHUBACTION')" @@ -72,15 +67,15 @@ jobs: # Discard all changes that might have occurred after change build - run: git stash -# - name: Authenticate with Registry -# run: npm config set "//registry.npmjs.org/:_authToken" "$NPM_TOKEN" -# env: -# NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + - name: Authenticate with Registry + run: npm config set "//registry.npmjs.org/:_authToken" "$NPM_TOKEN" + env: + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - name: Publish using Rush uses: ./.github/actions/call-rush with: command: publish --apply --publish --target-branch main --add-commit-details env: -# NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN_ACTION }}