Skip to content

Commit

Permalink
chore(INFRAPRJ-6604): separate steps
Browse files Browse the repository at this point in the history
  • Loading branch information
dedsxc committed Sep 4, 2024
1 parent 95bb162 commit a2a5731
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,14 @@ jobs:
- name: Login to JFrog Ledger
id: jfrog-login
uses: LedgerHQ/actions-security/actions/jfrog-login@actions/jfrog-login-1

- name: Setup npm config
run: echo "//jfrog.ledgerlabs.net/artifactory/api/npm/ldk-npm-prod-public/:_authToken=${{ steps.jfrog-login.outputs.oidc-token }}" > ~/.npmrc

- name: Publish to npm
uses: changesets/action@v1
with:
publish: |
echo "//jfrog.ledgerlabs.net/artifactory/api/npm/ldk-npm-prod-public/:_authToken=${{ steps.jfrog-login.outputs.oidc-token }}" > ~/.npmrc
pnpm publish --no-git-checks --registry https://jfrog.ledgerlabs.net/artifactory/api/npm/ldk-npm-prod-public/
publish: pnpm publish --no-git-checks --registry https://jfrog.ledgerlabs.net/artifactory/api/npm/ldk-npm-prod-public/
env:
GITHUB_TOKEN: ${{ github.token }}
NPM_TOKEN: ${{ secrets.NPMJS_TOKEN }}
GITHUB_TOKEN: ${{ secrets.CI_BOT_TOKEN }}
NPM_TOKEN: ${{ steps.jfrog-login.outputs.oidc-token }}

0 comments on commit a2a5731

Please sign in to comment.