feat: Integrate lit protocol in sign protocol sdk #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: npm publish | |
on: | |
push: | |
branches: | |
- main | |
# file paths to consider in the event. Optional; defaults to all. | |
paths: | |
- package.json | |
workflow_dispatch: | |
jobs: | |
publish: | |
name: npm publish | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup pnpm | |
# You may pin to the exact commit or the version. | |
# uses: pnpm/action-setup@c3b53f6a16e57305370b4ae5a540c2077a1d50dd | |
uses: pnpm/action-setup@v4 | |
with: | |
# Version of pnpm to install | |
version: latest # optional | |
# Where to store pnpm files | |
# dest: # optional, default is ~/setup-pnpm | |
# If specified, run `pnpm install` | |
run_install: true # optional, default is null | |
- run: pnpm install | |
- run: pnpm run build | |
- run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_AUTH_TOKEN }}" > ~/.npmrc | |
- run: npm publish --access=public |