Created
May 2, 2018 05:43
-
-
Save harentius/5c49cbb620f8a081a342ebeec0295ebc to your computer and use it in GitHub Desktop.
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
version: 2 | |
jobs: | |
build: | |
working_directory: ~/attraction-wars-server | |
docker: | |
- image: circleci/node:10.0.0 | |
steps: | |
- checkout | |
- run: | |
name: install-npm | |
command: 'sudo npm install -g npm@latest' | |
- restore_cache: # special step to restore the dependency cache | |
key: dependency-cache-{{ checksum "package.json" }} | |
- run: | |
name: install-dependencies | |
command: npm install | |
- save_cache: # special step to save the dependency cache | |
key: dependency-cache-{{ checksum "package.json" }} | |
paths: | |
- ./node_modules | |
- run: | |
name: lint | |
command: npm run lint |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment