Merge pull request #41 from NeteaseCloudMusicApiEnhanced/dependabot/github_actions/actions/setup-node-6

This commit is contained in:
ElyPrism 2025-11-07 22:13:52 +08:00 committed by GitHub
commit 2a8fb72d1d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View File

@ -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'

View File

@ -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'