Debian Codegraph @

.circleci/config.yml

raw
1
2 # Javascript Node CircleCI 2.0 configuration file
3 #
4 # Check https://circleci.com/docs/2.0/language-javascript/ for more details
5 #
6 version: 2
7 jobs:
8 build:
9 docker:
10 # specify the version you desire here
11 - image: circleci/node:10
12
13 working_directory: ~/repo
14
15 steps:
16 - checkout
17
18 # Download and cache dependencies
19 - restore_cache:
20 keys:
21 - v1-dependencies-{{ checksum "package.json" }}
22 # fallback to using the latest cache if no exact match is found
23 - v1-dependencies-
24
25 - run: npm install
26
27 - save_cache:
28 paths:
29 - node_modules
30 key: v1-dependencies-{{ checksum "package.json" }}
31
32 # run tests!
33 - run:
34 name: Test
35 command: npm test