Skip to content

修复tabs 和删除多余引用 #14

修复tabs 和删除多余引用

修复tabs 和删除多余引用 #14

Workflow file for this run

name: Release Package
on:
push:
tags:
- 'v*.*.*' # 仅匹配类似 v1.0.0 的标签
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- name: Upload Release Asset
uses: actions/upload-artifact@v4
with:
name: release-dists
path: .
- uses: actions/setup-node@v4
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- run: npm install -g pnpm
- name: Install dependencies
run: pnpm install
- name: Build packages
run: pnpm build
- name: Publish to npm
run: pnpm publish:npm
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}