Skip to content

fix the typescript compile issue 3 #1

fix the typescript compile issue 3

fix the typescript compile issue 3 #1

Workflow file for this run

name: Release (npm)
on:
push:
tags: [ 'v*.*.*' ]
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'pnpm'
cache-dependency-path: ../../pnpm-lock.yaml
registry-url: 'https://registry.npmjs.org'
- run: corepack enable
- run: pnpm install --frozen-lockfile
- run: pnpm build
- name: Publish to npm
run: npm publish dist --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}