storage-upload/.circleci/config.yml

32 lines
686 B
YAML

version: 2
jobs:
build:
docker:
- image: circleci/node:latest
environment:
- di: "nfpis/storage-upload"
- dtag: "latest"
working_directory: ~/storage-upload
steps:
- checkout
- run:
name: Install dependencies
command: |
npm install
npm list --all
- 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}
workflows:
version: 2
build_deploy:
jobs:
- build:
context: org-global