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