Use windows executor.

This commit is contained in:
Patrick Fic
2025-03-31 15:48:47 -07:00
parent 4423a4a8cb
commit 975d750c0c

View File

@@ -1,26 +1,24 @@
version: 2.1
orbs:
win: circleci/windows@5.1.0
jobs:
partner-win-build:
docker:
- image: electronuserland/builder:wine
parameters:
secret:
type: string
default: $HASURA_TEST_SECRET
working_directory: ~/repo/hasura
executor:
name: win/default
steps:
- checkout:
path: ~/repo
- checkout
- run:
name: Set up Node.js
command: nvm install 22 && nvm use 22
- run:
name: Install NPM Packages
command: |
npm install
command: npm install
- run:
name: Build Electron App for Windows
command: |
npm run build && electron-builder --win
command: npm run build:win
- store_artifacts:
path: ~/repo/dist
path: .\dist
workflows:
deploy_and_build: