Skip to content

Commit

Permalink
Merge branch 'main' into failure-message
Browse files Browse the repository at this point in the history
  • Loading branch information
dwertent authored Nov 12, 2024
2 parents d6cb82c + a1f48f0 commit adfc640
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/release-typescript-sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,25 @@ on:
required: true
workflow_dispatch:


jobs:
publish:
permissions:
contents: read
id-token: write
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive
- uses: actions/setup-node@v4
with:
node-version: '18.x'
registry-url: 'https://registry.npmjs.org'

- name: Install pre-requisites
uses: ./.github/actions/setup

Expand All @@ -24,6 +35,7 @@ jobs:
run: |
set -e
../../gradlew build
npm publish
npm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

3 changes: 3 additions & 0 deletions sdk/typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,8 @@
"axios": "^1.7.7",
"ethers": "^6.13.4",
"uuid": "^11.0.2"
},
"repository": {
"url": "https://github.com/LF-Decentralized-Trust-labs/paladin"
}
}

0 comments on commit adfc640

Please sign in to comment.