From 0aa29904743d55e0df2cd714c19d77ddf19cc98e Mon Sep 17 00:00:00 2001 From: Patrick Fic Date: Mon, 31 Mar 2025 15:28:45 -0700 Subject: [PATCH] Add circle CI config. --- .circleci/config.yml | 41 +++++++++++++---------------------------- 1 file changed, 13 insertions(+), 28 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 5043910..64d3508 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,11 +1,4 @@ version: 2.1 -orbs: - #snyk: snyk/snyk@0.0.8 - #cypress: cypress-io/cypress@1.23.0 - aws-s3: circleci/aws-s3@4.0.0 - aws-cli: circleci/aws-cli@4.0 - eb: circleci/aws-elastic-beanstalk@2.0.1 - jira: circleci/jira@2.1.0 jobs: partner-win-build: docker: @@ -19,29 +12,21 @@ jobs: - checkout: path: ~/repo - run: - name: Execute migration + name: Install NPM Packages command: | - curl -L https://github.com/hasura/graphql-engine/raw/stable/cli/get.sh | bash - hasura migrate apply --endpoint https://db.test.bodyshop.app/ --admin-secret << parameters.secret >> - sleep 15 - hasura metadata apply --endpoint https://db.test.bodyshop.app/ --admin-secret << parameters.secret >> - sleep 30 - hasura metadata reload --endpoint https://db.test.bodyshop.app/ --admin-secret << parameters.secret >> - - jira/notify: - environment: Test (ImEX) - Hasura - environment_type: testing - pipeline_id: << pipeline.id >> - job_type: deployment - pipeline_number: << pipeline.number >> + 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: - filters: - branches: - only: main - - partner-mac-build: - filters: - branches: - only: main + - partner-win-build + # - partner-mac-build: + # filters: + # branches: + # only: main