Update SDK using contracts version bfd004d81373ce2d0d9d2e5c8b02de5ffe… #1478
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: Publish to NPM | |
on: [ push ] | |
jobs: | |
publish-npm: | |
if: ${{ startsWith(github.ref, 'refs/tags/') }} | |
runs-on: ubuntu-latest | |
container: | |
image: alpine:3.20 | |
steps: | |
- name: Install tools | |
run: | | |
apk -U add git npm | |
npm install typescript yarn -g | |
echo "//npm.pkg.github.com/:_authToken=${{ secrets.node_auth_token }}" > $HOME/.npmrc | |
- name: Clone | |
uses: actions/checkout@v2 | |
- name: Publish | |
run: | | |
yarn publish --no-git-tag-version --new-version ${GITHUB_REF#refs/tags/} --non-interactive |