Skip to content

Commit

Permalink
chore(INFRAPRJ-6604): reuse changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
dedsxc committed Sep 4, 2024
1 parent f67c47b commit 95bb162
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,12 @@ jobs:
id: jfrog-login
uses: LedgerHQ/actions-security/actions/jfrog-login@actions/jfrog-login-1

- name: Publish to JFrog Ledger
run: |
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/
- 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/
env:
GITHUB_TOKEN: ${{ github.token }}
NPM_TOKEN: ${{ secrets.NPMJS_TOKEN }}

0 comments on commit 95bb162

Please sign in to comment.