storage-upload/.circleci/config.yml

33 lines
686 B
YAML
Raw Normal View History

2017-12-09 21:51:18 +00:00
version: 2
jobs:
build:
docker:
- image: circleci/node:latest
2017-12-09 21:51:18 +00:00
environment:
- di: "nfpis/storage-upload"
- dtag: "latest"
working_directory: ~/storage-upload
steps:
- checkout
- run:
name: Install dependencies
2017-12-09 21:51:18 +00:00
command: |
npm install
npm list --all
2017-12-09 22:00:37 +00:00
- run:
name: Run tests
command: |
npm run test:linux
# - deploy:
# name: Push to docker
# command: |
# docker login -u $DOCKER_USER -p $DOCKER_PASS
# docker push ${di}
2017-12-09 21:51:18 +00:00
workflows:
version: 2
build_deploy:
jobs:
- build:
context: org-global