2020-10-27 14:10:50 -04:00
|
|
|
version: 2.1
|
2020-10-29 10:52:45 -04:00
|
|
|
|
|
|
|
aliases:
|
|
|
|
- &defaults
|
|
|
|
docker:
|
|
|
|
- image: circleci/node:12-browsers
|
|
|
|
auth:
|
|
|
|
username: $DOCKERHUB_USERNAME
|
|
|
|
password: $DOCKERHUB_PASSWORD
|
|
|
|
# working_directory: ~/repo
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
setup:
|
|
|
|
<<: *defaults
|
|
|
|
steps:
|
2020-10-29 11:33:58 -04:00
|
|
|
- run: |
|
2020-10-29 11:43:37 -04:00
|
|
|
echo "Setup step is happening here"
|
|
|
|
pip install -r requirements.txt
|
|
|
|
npm --production=false ci
|
|
|
|
npm --production=false update
|
2020-10-29 10:52:45 -04:00
|
|
|
|
2020-10-27 14:10:50 -04:00
|
|
|
workflows:
|
2020-10-29 10:52:45 -04:00
|
|
|
build-test-deploy:
|
2020-10-27 14:10:50 -04:00
|
|
|
jobs:
|
2020-10-29 10:52:45 -04:00
|
|
|
- setup:
|
2020-10-27 15:05:42 -04:00
|
|
|
filters:
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- circleci-project-setup # remove this before releasing
|