Skip to content

Instantly share code, notes, and snippets.

@thulioph
Created March 20, 2018 22:54
Show Gist options
  • Save thulioph/ea63e1c378c6478c3804f093a4d9d0f4 to your computer and use it in GitHub Desktop.
Save thulioph/ea63e1c378c6478c3804f093a4d9d0f4 to your computer and use it in GitHub Desktop.
Code snippet from post about CircleCI with React - sequential workflow II
version: 2
jobs:
build:
docker:
- image: circleci/node:8.2.1
steps:
- checkout
- run: echo "My first job is build."
test:
steps:
- checkout
- run: echo "My second job is test."
deploy:
steps:
- checkout
- run: echo "My third job is deploy."
workflows:
version: 2
build_test_and_deploy:
jobs:
- test
- build:
requires:
- test
- deploy:
requires:
- build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment