mirror of
https://github.com/NeteaseCloudMusicApiEnhanced/api-enhanced.git
synced 2025-10-22 14:43:10 +00:00
feat: 支持action发布npm包
This commit is contained in:
parent
2b662ae7c7
commit
bf62107b17
4
.github/workflows/npm.yml
vendored
4
.github/workflows/npm.yml
vendored
@ -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 }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user