/
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user