updated circleCi config

master
Vic 2 years ago
parent c44b2eb442
commit cf3294d3a0

@ -28,22 +28,26 @@ jobs:
- run:
name: Install API Dependencies
command: |
echo "TODO: Install dependencies in the the backend API "
echo "TODO: Install dependencies in the the backend API"
npm run api:install
# TODO: Lint the frontend
- run:
name: Front-End Lint
command: |
echo "TODO: Lint the frontend"
npm run frontend:lint
# TODO: Build the frontend app
- run:
name: Front-End Build
command: |
echo "TODO: Build the frontend app"
npm run frontend:build
# TODO: Build the backend API
- run:
name: API Build
command: |
echo "TODO: Build the backend API"
npm run api:build
# deploy step will run only after manual approval
deploy:
docker:
@ -55,11 +59,44 @@ jobs:
- eb/setup
- aws-cli/setup
- checkout
- run:
name: Install Front-End Dependencies
command: |
echo "NODE --version"
echo $(node --version)
echo "NPM --version"
echo $(npm --version)
npm run frontend:install
# TODO: Install dependencies in the the backend API
- run:
name: Install API Dependencies
command: |
echo "TODO: Install dependencies in the the backend API"
npm run api:install
# TODO: Lint the frontend
- run:
name: Front-End Lint
command: |
echo "TODO: Lint the frontend"
npm run frontend:lint
# TODO: Build the frontend app
- run:
name: Front-End Build
command: |
echo "TODO: Build the frontend app"
npm run frontend:build
# TODO: Build the backend API
- run:
name: API Build
command: |
echo "TODO: Build the backend API"
npm run api:build
- run:
name: Deploy App
# TODO: Install, build, deploy in both apps
command: |
echo "# TODO: Install, build, deploy in both apps"
npm run deploy
workflows:
udagram:

Loading…
Cancel
Save