Skip to content

feat: 更新文档 & 发布正式版本 #16

feat: 更新文档 & 发布正式版本

feat: 更新文档 & 发布正式版本 #16

name: Public Packages
on:
push:
branches:
- master
workflow_dispatch:
jobs:
publish-npm:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup PNPM
uses: pnpm/action-setup@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
cache: pnpm
registry-url: https://registry.npmjs.org/
- name: Install dependencies
run: pnpm install
- name: Build Package
run: pnpm build
- name: Publish Package
run: pnpm release
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}