We have a workflow that is:
workflows:
version: 2
build_and_deploy:
jobs:
- build
- deploy_prod:
requires:
- build
filters:
tags:
# run CircleCI on tag create
only: /^v[0-9]+(\.[0-9]+)*/
branches:
ignore: /.*/
- deploy_stag:
requires:
- build
filters:
branches:
# run CircleCI on push to master only (usually from a PR)
only: master
The build finishes successfully but CircleCI is not reporting back to GitHub:
This the workflow in CIrcleCI:
and the build job:
build:
docker:
- image: circleci/node:8.4.0
- image: circleci/mongo:3.5.6
working_directory: ~/amio-whatsapp
steps:
- checkout
# Download and cache dependencies
- restore_cache:
keys:
- v1-dependencies-{{ checksum "package.json" }}
# fallback to using the latest cache if no exact match is found
- v1-dependencies-
- run: npm install
- save_cache:
paths:
- node_modules
key: v1-dependencies-{{ checksum "package.json" }}
- run:
name: Test - units
command: npm run-script test-units
- run:
name: Test - integrations
command: npm run-script test-integrations
Is this a bug or have I missed something?