Add npm install step to release workflow

Added npm install step before npm ci for all platforms.
This commit is contained in:
AMIAY
2026-01-18 13:55:39 +01:00
committed by GitHub
parent 472e55668a
commit b0c8c6affa

View File

@@ -17,6 +17,7 @@ jobs:
with: with:
node-version: '22' node-version: '22'
cache: 'npm' cache: 'npm'
- run: npm install
- run: npm ci - run: npm ci
- run: npx electron-builder --linux --publish never - run: npx electron-builder --linux --publish never
- uses: actions/upload-artifact@v4 - uses: actions/upload-artifact@v4
@@ -34,6 +35,7 @@ jobs:
with: with:
node-version: '22' node-version: '22'
cache: 'npm' cache: 'npm'
- run: npm install
- run: npm ci - run: npm ci
- run: npx electron-builder --win --publish never - run: npx electron-builder --win --publish never
- uses: actions/upload-artifact@v4 - uses: actions/upload-artifact@v4
@@ -50,6 +52,7 @@ jobs:
with: with:
node-version: '22' node-version: '22'
cache: 'npm' cache: 'npm'
- run: npm install
- run: npm ci - run: npm ci
- run: npx electron-builder --mac --publish never - run: npx electron-builder --mac --publish never
- uses: actions/upload-artifact@v4 - uses: actions/upload-artifact@v4