release(sdk): Release the 0.22 sdk #4
Workflow file for this run
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 CLI Package to npm | |
on: | |
push: | |
tags: | |
# This is a glob pattern not a regex | |
- 'sdk/v[0-9]+.[0-9]+.[0-9]+' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup | |
uses: ./tooling/github/setup | |
- name: Build SDK | |
run: pnpm build | |
working-directory: packages/sdk | |
- run: pnpm publish --access public --no-git-checks | |
working-directory: packages/sdk | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }} | |