fix: update dependency installation method in build workflow

This commit is contained in:
2025-11-12 06:29:45 +11:00
parent e16b069ddd
commit 9e487fed7b
2 changed files with 3 additions and 6 deletions

View File

@@ -20,10 +20,9 @@ jobs:
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:
node-version: '20' node-version: '20'
cache: 'npm'
- name: Install dependencies - name: Install dependencies
run: npm ci run: npm install
- name: Build Windows - name: Build Windows
run: npm run dist:win run: npm run dist:win
@@ -44,10 +43,9 @@ jobs:
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:
node-version: '20' node-version: '20'
cache: 'npm'
- name: Install dependencies - name: Install dependencies
run: npm ci run: npm install
- name: Build Linux - name: Build Linux
run: npm run dist:linux run: npm run dist:linux

View File

@@ -21,10 +21,9 @@ jobs:
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:
node-version: '20' node-version: '20'
cache: 'npm'
- name: Install dependencies - name: Install dependencies
run: npm ci run: npm install
- name: Build Linux packages - name: Build Linux packages
run: npm run dist:linux run: npm run dist:linux