mirror of
https://github.com/NeteaseCloudMusicApiEnhanced/api-enhanced.git
synced 2025-12-08 00:03:09 +00:00
Merge pull request #41 from NeteaseCloudMusicApiEnhanced/dependabot/github_actions/actions/setup-node-6
This commit is contained in:
commit
2a8fb72d1d
4
.github/workflows/node.js.yml
vendored
4
.github/workflows/node.js.yml
vendored
@ -18,7 +18,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5
|
- uses: actions/checkout@v5
|
||||||
- name: Use Node.js ${{ matrix.node-version }}
|
- name: Use Node.js ${{ matrix.node-version }}
|
||||||
uses: actions/setup-node@v5
|
uses: actions/setup-node@v6
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
# Use built-in package manager cache for pnpm
|
# Use built-in package manager cache for pnpm
|
||||||
@ -43,7 +43,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5
|
- uses: actions/checkout@v5
|
||||||
- name: Use Node.js ${{ matrix.node-version }}
|
- name: Use Node.js ${{ matrix.node-version }}
|
||||||
uses: actions/setup-node@v5
|
uses: actions/setup-node@v6
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
cache: 'pnpm'
|
cache: 'pnpm'
|
||||||
|
|||||||
4
.github/workflows/npm.yml
vendored
4
.github/workflows/npm.yml
vendored
@ -16,7 +16,7 @@ jobs:
|
|||||||
|
|
||||||
# 发布到 NPM Registry
|
# 发布到 NPM Registry
|
||||||
- name: Setup Node.js for NPM
|
- name: Setup Node.js for NPM
|
||||||
uses: actions/setup-node@v5
|
uses: actions/setup-node@v6
|
||||||
with:
|
with:
|
||||||
node-version: 20
|
node-version: 20
|
||||||
registry-url: 'https://registry.npmjs.org/'
|
registry-url: 'https://registry.npmjs.org/'
|
||||||
@ -28,7 +28,7 @@ jobs:
|
|||||||
|
|
||||||
# 发布到 GitHub Packages
|
# 发布到 GitHub Packages
|
||||||
- name: Setup Node.js for GitHub Packages
|
- name: Setup Node.js for GitHub Packages
|
||||||
uses: actions/setup-node@v5
|
uses: actions/setup-node@v6
|
||||||
with:
|
with:
|
||||||
node-version: 20
|
node-version: 20
|
||||||
registry-url: 'https://npm.pkg.github.com'
|
registry-url: 'https://npm.pkg.github.com'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user