Skip to content

Instantly share code, notes, and snippets.

@jukbot jukbot/config.yml
Created Mar 6, 2018

Embed
What would you like to do?
CircleCi
# Javascript Node CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-javascript/ for more details
#
version: 2
jobs:
build:
working_directory: ~/bluezebra
docker:
# specify the version you desire here
- image: circleci/node:latest
working_directory: ~/repo
steps:
- checkout
- restore_cache:
keys:
- dependency-cache-{{ checksum "yarn.lock" }}
- dependency-cache
- run:
name: Install Dependencies
command: yarn --frozen-lockfile
- save_cache:
key: dependency-cache-{{ checksum "yarn.lock" }}
paths:
- ./node_modules
- run:
name: Run liner
command: yarn lint
- run:
name: Run build
command: yarn build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.