1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

fix build:app on windows

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
Jari Kolehmainen 2023-01-24 16:15:29 +02:00
parent f5777c0cfc
commit 7bccc97da2
2 changed files with 4 additions and 4 deletions

View File

@ -69,18 +69,18 @@ jobs:
minikube-version: latest minikube-version: latest
if: ${{ runner.os == 'Linux' && matrix.type == 'smoke' }} if: ${{ runner.os == 'Linux' && matrix.type == 'smoke' }}
- run: xvfb-run --auto-servernum --server-args='-screen 0, 1600x900x24' make integration - run: xvfb-run --auto-servernum --server-args='-screen 0, 1600x900x24' yarn run test:integration -- -- $ELECTRON_BUILDER_EXTRA_ARGS
name: Run Linux integration tests name: Run Linux integration tests
if: ${{ runner.os == 'Linux' && matrix.type == 'smoke' }} if: ${{ runner.os == 'Linux' && matrix.type == 'smoke' }}
- run: yarn run test:integration - run: yarn run test:integration -- -- $ELECTRON_BUILDER_EXTRA_ARGS
name: Run macOS integration tests name: Run macOS integration tests
shell: bash shell: bash
env: env:
ELECTRON_BUILDER_EXTRA_ARGS: "--x64 --arm64" ELECTRON_BUILDER_EXTRA_ARGS: "--x64 --arm64"
if: ${{ runner.os == 'macOS' && matrix.type == 'smoke' }} if: ${{ runner.os == 'macOS' && matrix.type == 'smoke' }}
- run: yarn run test:integration - run: yarn run test:integration -- -- $ELECTRON_BUILDER_EXTRA_ARGS
name: Run Windows integration tests name: Run Windows integration tests
shell: bash shell: bash
env: env:

View File

@ -21,7 +21,7 @@
"clean": "rm -rf binaries/ dist/ static/build", "clean": "rm -rf binaries/ dist/ static/build",
"build": "npm run compile", "build": "npm run compile",
"postbuild": "npm run build:tray-icons && npm run download:binaries", "postbuild": "npm run build:tray-icons && npm run download:binaries",
"build:app": "electron-builder --publish onTag $ELECTRON_BUILDER_EXTRA_ARGS", "build:app": "electron-builder --publish onTag",
"prebuild:app": "run-script-os", "prebuild:app": "run-script-os",
"prebuild:app:default": "exit 0", "prebuild:app:default": "exit 0",
"prebuild:app:win32": "rm -rf node_modules/win-ca/pem", "prebuild:app:win32": "rm -rf node_modules/win-ca/pem",