npm install circleci
yaml
version: 2
jobs:
build:
docker:
- image: circleci/build-image:ubuntu-20.04-node10
steps:
- checkout
- run:
name: Install Dependencies
command: npm install
- run:
name: Run Tests
command: npm test
yaml
jobs:
build:
docker:
- image: circleci/build-image:ubuntu-20.04-node10
steps:
- checkout
- run:
name: Install Dependencies
command: npm install
- run:
name: Run Tests
command: npm test
deploy:
docker:
- image: circleci/build-image:ubuntu-20.04-node10
steps:
- checkout
- run:
name: Deploy to Production
command: npm run deploy