This commit is contained in:
RoyceDa
2026-02-18 14:41:58 +02:00
parent 65089fd71b
commit 3a854c8d27

View File

@@ -17,16 +17,6 @@ jobs:
with:
node-version: '24'
# Кэш для node_modules
- name: Cache node_modules
uses: actions/cache@v5
with:
path: node_modules
key: ${{ runner.os }}-node-${{ hashFiles('**/package.json') }}
restore-keys: |
${{ runner.os }}-node-
if-no-files-found: ignore
# Кэш для electron-builder
- name: Cache electron-builder
uses: actions/cache@v5
@@ -39,8 +29,14 @@ jobs:
${{ runner.os }}-electron-builder-
if-no-files-found: ignore
- name: NPM offline setup
shell: powershell
run: |
npm config set cache "$env:LOCALAPPDATA\npm-cache" --global
npm config set prefer-offline true --global
- name: Install npm dependencies
run: npm install
run: npm install --prefer-offline --no-audit --no-fund
- name: Build the application
run: npm run kernel:win