33 lines
724 B
YAML
33 lines
724 B
YAML
version: 2.1
|
|
jobs:
|
|
partner-win-build:
|
|
docker:
|
|
- image: electronuserland/builder:wine
|
|
parameters:
|
|
secret:
|
|
type: string
|
|
default: $HASURA_TEST_SECRET
|
|
working_directory: ~/repo/hasura
|
|
steps:
|
|
- checkout:
|
|
path: ~/repo
|
|
- run:
|
|
name: Install NPM Packages
|
|
command: |
|
|
npm install
|
|
- run:
|
|
name: Build Electron App for Windows
|
|
command: |
|
|
npm run build && electron-builder --win
|
|
- store_artifacts:
|
|
path: ~/repo/dist
|
|
|
|
workflows:
|
|
deploy_and_build:
|
|
jobs:
|
|
- partner-win-build
|
|
# - partner-mac-build:
|
|
# filters:
|
|
# branches:
|
|
# only: main
|