From 2699b80e1aa2ddd96b7f4615e7ee687956e2702d Mon Sep 17 00:00:00 2001 From: Dave Richer Date: Wed, 17 Jan 2024 20:02:41 -0500 Subject: [PATCH] - adjust circle ci Signed-off-by: Dave Richer --- .circleci/config.yml | 49 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 2e047be49..ac700fdb7 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -69,6 +69,26 @@ jobs: to: "s3://imex-online-production/" - jira/notify + app-beta-build: + docker: + - image: cimg/node:18.18.2 + resource_class: large + working_directory: ~/repo/client + + steps: + - checkout: + path: ~/repo + - run: + name: Install Dependencies + command: npm i + + - run: npm run build + + - aws-s3/sync: + from: build + to: "s3://imex-online-beta/" + - jira/notify + test-hasura-migrate: docker: - image: cimg/node:16.15.0 @@ -119,6 +139,27 @@ jobs: to: "s3://imex-online-test/" - jira/notify + test-app-beta-build: + docker: + - image: cimg/node:18.18.2 + + working_directory: ~/repo/client + + steps: + - checkout: + path: ~/repo + + - run: + name: Install Dependencies + command: npm i + + - run: npm run build + + - aws-s3/sync: + from: build + to: "s3://imex-online-test-beta/" + - jira/notify + admin-app-build: docker: - image: cimg/node:16.15.0 @@ -160,6 +201,10 @@ workflows: filters: branches: only: master + - app-beta-build: + filters: + branches: + only: master-beta - hasura-migrate: secret: ${HASURA_PROD_SECRET} filters: @@ -169,6 +214,10 @@ workflows: filters: branches: only: test + - test-app-beta-build: + filters: + branches: + only: test-beta - test-hasura-migrate: secret: ${HASURA_TEST_SECRET} filters: