fix: 更新GitHub Actions和Dockerfile中的依赖版本

This commit is contained in:
ElyPrism 2026-05-30 20:58:03 +08:00
parent 7aacc8990b
commit c92613b19e
No known key found for this signature in database
3 changed files with 9 additions and 13 deletions

View File

@ -136,7 +136,7 @@ jobs:
esac esac
- name: Upload build artifact - name: Upload build artifact
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v7
with: with:
name: ${{ matrix.platform }}-binary name: ${{ matrix.platform }}-binary
path: release-artifacts/* path: release-artifacts/*
@ -165,17 +165,16 @@ jobs:
fetch-tags: true fetch-tags: true
- name: Download build artifacts - name: Download build artifacts
uses: actions/download-artifact@v4 uses: actions/download-artifact@v8
with: with:
path: release-artifacts path: release-artifacts
merge-multiple: true
- name: Flatten artifacts - name: List flattened artifacts
shell: bash shell: bash
run: | run: |
mkdir -p final-artifacts mkdir -p final-artifacts
cp release-artifacts/* final-artifacts/
find release-artifacts -type f -exec cp {} final-artifacts/ \;
ls -lah final-artifacts ls -lah final-artifacts
- name: Generate release notes - name: Generate release notes

View File

@ -3,16 +3,13 @@ FROM node:lts-alpine
RUN apk add --no-cache tini RUN apk add --no-cache tini
ENV NODE_ENV production ENV NODE_ENV production
USER node
WORKDIR /app WORKDIR /app
RUN corepack enable && corepack prepare pnpm@latest --activate COPY --chown=node:node . ./
COPY . ./ RUN yarn --network-timeout=100000
RUN pnpm install --frozen-lockfile
USER node
EXPOSE 3000 EXPOSE 3000

View File

@ -1,6 +1,6 @@
{ {
"name": "@neteasecloudmusicapienhanced/api", "name": "@neteasecloudmusicapienhanced/api",
"version": "4.34.2", "version": "4.34.3",
"description": "全网最全的网易云音乐API接口 || A revival project for NeteaseCloudMusicApi Node.js Services (Half Refactor & Enhanced) || 网易云音乐 API 备份 + 增强 || 本项目自原版v4.28.0版本后开始自行维护", "description": "全网最全的网易云音乐API接口 || A revival project for NeteaseCloudMusicApi Node.js Services (Half Refactor & Enhanced) || 网易云音乐 API 备份 + 增强 || 本项目自原版v4.28.0版本后开始自行维护",
"scripts": { "scripts": {
"dev": "nodemon app.js", "dev": "nodemon app.js",