mirror of
https://github.com/NeteaseCloudMusicApiEnhanced/api-enhanced.git
synced 2025-10-22 14:43:10 +00:00
docs: 纠正文档
This commit is contained in:
parent
79edb14a03
commit
442d0a8f81
23
.github/workflows/DockerHub-Description.yml
vendored
23
.github/workflows/DockerHub-Description.yml
vendored
@ -1,23 +0,0 @@
|
||||
name: Update Docker Hub Description
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- README.MD
|
||||
- .github/workflows/DockerHub-Description.yml
|
||||
jobs:
|
||||
dockerHubDescription:
|
||||
if: startsWith(github.repository, 'Binaryify/ncm')
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Docker Hub Description
|
||||
uses: peter-evans/dockerhub-description@v3
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
repository: binaryify/netease_cloud_music_api
|
||||
short-description: ${{ github.event.repository.description }}
|
||||
readme-filepath: ./README.MD
|
28
.github/workflows/npm.yml
vendored
28
.github/workflows/npm.yml
vendored
@ -3,17 +3,41 @@ name: Release
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- 'v*'
|
||||
|
||||
jobs:
|
||||
release:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
packages: write
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
|
||||
# 发布到 NPM Registry
|
||||
- name: Setup Node.js for NPM
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 20
|
||||
registry-url: 'https://registry.npmjs.org/'
|
||||
- run: npm install
|
||||
- run: npm publish --access public
|
||||
- name: Publish to NPM
|
||||
run: npm publish --access public
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
|
||||
# 发布到 GitHub Packages
|
||||
- name: Setup Node.js for GitHub Packages
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 20
|
||||
registry-url: 'https://npm.pkg.github.com'
|
||||
- name: Update package name for GitHub Packages
|
||||
run: |
|
||||
json=`cat package.json`
|
||||
echo "$json" | jq '.name = "@neteasecloudmusicapienhanced/api"' > package.json
|
||||
- name: Publish to GitHub Packages
|
||||
run: npm publish --access public
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ github.token }}
|
||||
|
@ -99,7 +99,7 @@ pnpm test
|
||||
- 歌曲、专辑、歌手、MV、歌词、评论、排行榜
|
||||
- 搜索、推荐、私人 FM、签到、云盘
|
||||
- 歌曲解锁(解灰)、多音源支持(qq/kuwo/kugou/migu/pyncmd)
|
||||
- 详细接口请见[在线文档](https://music-api.focalors.ltd/docs/#)
|
||||
- 详细接口请见[在线文档](https://music-api.focalors.ltd/)
|
||||
|
||||
## 贡献与社区
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@neteaseapireborn/api",
|
||||
"version": "4.28.28",
|
||||
"version": "4.28.28-beta.1",
|
||||
"description": "为停更的网易云音乐 NodeJs API 提供持续的维护!",
|
||||
"scripts": {
|
||||
"start": "node app.js",
|
||||
|
Loading…
x
Reference in New Issue
Block a user