mirror of
https://github.com/atdunbg/Nekosonic-Music.git
synced 2026-08-06 03:44:18 +08:00
fix: 修复 GitHub Actions 使用 pnpm 而非 npm
This commit is contained in:
@@ -26,8 +26,13 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: '20'
|
node-version: '20'
|
||||||
|
|
||||||
|
- name: Setup pnpm
|
||||||
|
uses: pnpm/action-setup@v2
|
||||||
|
with:
|
||||||
|
version: 8
|
||||||
|
|
||||||
- name: Setup Rust
|
- name: Setup Rust
|
||||||
uses: dtolnay/rust-toolchain@stable
|
uses: dtolnay/rust-toolchain@stable
|
||||||
|
|
||||||
- name: Install Linux dependencies
|
- name: Install Linux dependencies
|
||||||
if: matrix.os == 'ubuntu-latest'
|
if: matrix.os == 'ubuntu-latest'
|
||||||
@@ -45,8 +50,8 @@ jobs:
|
|||||||
libayatana-appindicator3-dev \
|
libayatana-appindicator3-dev \
|
||||||
librsvg2-dev
|
librsvg2-dev
|
||||||
|
|
||||||
- name: Install npm dependencies
|
- name: Install dependencies
|
||||||
run: npm install
|
run: pnpm install --frozen-lockfile
|
||||||
|
|
||||||
- name: Extract release notes for version
|
- name: Extract release notes for version
|
||||||
id: release_notes
|
id: release_notes
|
||||||
|
|||||||
Reference in New Issue
Block a user