Skip to content

API codegen update (#19) (#20) #23

API codegen update (#19) (#20)

API codegen update (#19) (#20) #23

Workflow file for this run

name: Publish package to npm
on:
push:
tags:
- 'v*'
jobs:
publish-npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
with:
version: 9.6.0
- uses: actions/setup-node@v4
with:
node-version: 18
registry-url: https://registry.npmjs.org/
cache: pnpm
- run: pnpm install
- run: |
VERSION=${{ github.ref_name }}
pnpm setVersion -v ${VERSION:1}
- run: pnpm publish --no-git-checks
env:
NODE_AUTH_TOKEN: ${{ secrets.npm_token }}