ci(macos): drop npm cache and use npm install to match win/linux

The mac workflow enabled cache: npm with cache-dependency-path pointing
at package-lock.json, but that file is gitignored and never committed, so
setup-node failed with 'unable to cache dependencies' and npm ci would
also fail without a lockfile. Align with the win/linux workflows which use
plain npm install and no cache.
This commit is contained in:
yiqi-017 committed 2026-06-18 18:48:23 +08:00
1 parent f399e62d0c
commit 69ba144c90
1 file changed
+1 -3
@@ -35,15 +35,13 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: "20"
cache: npm
cache-dependency-path: frontends/desktop/package-lock.json
- name: Install Rust stable
uses: dtolnay/rust-toolchain@stable
- name: Install frontend dependencies
working-directory: frontends/desktop
run: npm ci
run: npm install
- name: Build Tauri app
working-directory: frontends/desktop