Posted on: Written by: K-Sato

Table of Contents

Configuration options

The link below contains CircleCI’s configuration options.

What are Jobs Steps and WorkFlows

  • Jobs: Jobs are collections of steps. All of the steps in the job are executed in a single unit, either within a fresh container or VM.

  • Steps: Steps are a collection of executable commands which are run during a job.

  • Orbs, Jobs, Steps, and Workflows

What are Orbs?

According to the CircleCI’s official document, Orbs are

Orbs are reusable snippets of code that help automate repeated processes, speed up project setup, and make it easy to integrate with third-party tools.

So Orbs are basically like libraries. You can reuse the code that was written by somebody else.

Validate config in your local env

Run the command below.

$ circleci config validate

If you are working with Orbs you can also validate your orb:

$ circleci orb validate /tmp/my_orb.yml


Here is a simple CircleCI configuration for a react project.

version: 2.1
# list orbs you want to use.
  node: circleci/node@1.1.6
  # This is the name of this job
    # Executors define the environment in which the steps of a job will be run
      name: node/default
    # Following the usage example of circleci/node@1.1.6.
      - checkout
      - node/with-cache:
            - run: yarn install
            - run: yarn test
      - build-and-test

About the author

I am a web-developer based somewhere on earth. I primarily code in TypeScript, Go and Ruby at work. React, RoR and Gin are my go-to Frameworks.