Skip to content

Commit 65a0ad3

Browse files
committed
circleci configuration
1 parent c585990 commit 65a0ad3

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

.circleci/config.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Javascript Node CircleCI 2.0 configuration file
2+
#
3+
# Check https://circleci.com/docs/2.0/language-javascript/ for more details
4+
#
5+
version: 2
6+
jobs:
7+
build:
8+
docker:
9+
# specify the version you desire here
10+
- image: circleci/node:7.10
11+
12+
# Specify service dependencies here if necessary
13+
# CircleCI maintains a library of pre-built images
14+
# documented at https://circleci.com/docs/2.0/circleci-images/
15+
# - image: circleci/mongo:3.4.4
16+
17+
steps:
18+
- checkout
19+
20+
# Download and cache dependencies
21+
- restore_cache:
22+
keys:
23+
- dependencies-{{ checksum "package-lock.json" }}
24+
# fallback to using the latest cache if no exact match is found
25+
- dependencies-
26+
27+
- run: npm i
28+
29+
- save_cache:
30+
paths:
31+
- node_modules
32+
key: dependencies-{{ checksum "package-lock.json" }}
33+
34+
# run tests!
35+
- run: npm run test

0 commit comments

Comments
 (0)