From 5f08b9dae27728799e24ab22f62395eef64ee635 Mon Sep 17 00:00:00 2001 From: Darin Kelkhoff Date: Wed, 16 Nov 2022 08:42:32 -0600 Subject: [PATCH] try making .env before each npm command --- .circleci/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 41a8f92..e6062e0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -35,12 +35,12 @@ workflows: context: [ qqq-maven-registry-credentials ] requires: - setup-job - build: 'npm run build' # run a custom app build step + build: 'cp .circleci/env ./.env && npm run build' # run a custom app build step - cypress/run: context: [ qqq-maven-registry-credentials ] requires: - cypress/install - start: 'npm run start' # start server before running tests + start: 'cp .circleci/env ./.env && npm run start' # start server before running tests wait-on: 'https://localhost:3000' ## record: true # record results on Cypress Dashboard ## parallel: true # split all specs across machines