Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 5 additions & 10 deletions .github/workflows/wf_publish-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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')"
Expand Down Expand Up @@ -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 }}
Loading