Created
March 6, 2018 10:30
-
-
Save jukbot/5832fa1319100cc846d9396b682ca09a to your computer and use it in GitHub Desktop.
CircleCi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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