try making .env before each npm command

This commit is contained in:
2022-11-16 08:42:32 -06:00
parent a8bd3460a2
commit 5f08b9dae2

View File

@ -35,12 +35,12 @@ workflows:
context: [ qqq-maven-registry-credentials ] context: [ qqq-maven-registry-credentials ]
requires: requires:
- setup-job - 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: - cypress/run:
context: [ qqq-maven-registry-credentials ] context: [ qqq-maven-registry-credentials ]
requires: requires:
- cypress/install - 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' wait-on: 'https://localhost:3000'
## record: true # record results on Cypress Dashboard ## record: true # record results on Cypress Dashboard
## parallel: true # split all specs across machines ## parallel: true # split all specs across machines