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