Skip to content

build: 修复 tsconfig 引起的编译失败 #32

build: 修复 tsconfig 引起的编译失败

build: 修复 tsconfig 引起的编译失败 #32

Workflow file for this run

name: Publish
on:
pull_request:
branches: [main]
types: [closed]
jobs:
publish:
runs-on: ubuntu-latest
if: github.event.pull_request.merged == true && startsWith(github.event.pull_request.title, 'Release')
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-node@v3
with:
node-version: 18
cache: npm
- run: npm ci
- run: npm run build
- run: echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- run: npx lerna exec npm publish