Learn CIRCLECI-CONFIG with Real Code Examples
Updated Nov 27, 2025
Code Sample Descriptions
1
Simple CircleCI Pipeline
# .circleci/config.yml
version: 2.1
jobs:
build:
docker:
- image: cimg/node:16.14
steps:
- checkout
- run: npm install
- run: npm run build
test:
docker:
- image: cimg/node:16.14
steps:
- checkout
- run: npm install
- run: npm test
workflows:
version: 2
build_and_test:
jobs:
- build
- test
A simple CircleCI config to build and test a Node.js application.