feat: 支持action发布npm包

This commit is contained in:
IamFurina 2025-07-03 16:26:28 +08:00 committed by ImFurina
parent 2b662ae7c7
commit bf62107b17

View File

@ -3,8 +3,6 @@ name: Release
on:
push:
tags:
- 'v*'
jobs:
release:
@ -19,4 +17,4 @@ jobs:
- run: npm run build
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}