Skip to content

tanto-connect/0.0.1-alpha.4 #7

tanto-connect/0.0.1-alpha.4

tanto-connect/0.0.1-alpha.4 #7

Workflow file for this run

name: Publish package
on:
release:
types: [created]
branches: [main]
jobs:
publish:
runs-on: ubuntu-latest
environment: production
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18
registry-url: https://registry.npmjs.org/
- name: Setup npmrc
run: |
echo "@sky-mavis:registry=https://registry.npmjs.org/" >> .npmrc
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_PUBLISH_TOKEN }}" >> .npmrc
- name: Install dependencies
run: cd packages/connect && yarn
- name: Build
run: cd packages/connect && yarn build
- name: Publish @sky-mavis/tanto-connect
run: cd packages/connect && npm publish --access=public
if: ${{ true == startsWith(github.event.release.tag_name, 'tanto-connect') }}
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
- name: Publish @sky-mavis/tanto-wagmi
run: cd packages/wagmi && npm publish --access=public
if: ${{ true == startsWith(github.event.release.tag_name, 'tanto-wagmi') }}
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}