/
config.yml
37 lines (31 loc) · 1.29 KB
/
config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Check https://circleci.com/docs/2.0/language-javascript/ for more details
#
version: 2.1
jobs:
build:
docker:
# This python image includes node 14.17.1 according to
# https://circleci.com/developer/images/image/cimg/python#image-tags
# It's a bit weird to use a python image when we care about node
# first, but it's needed to get node-gyp to work to build iltorb
- image: cimg/python:3.9.6-node
# Specify service dependencies here if necessary
# CircleCI maintains a library of pre-built images
# documented at https://circleci.com/docs/2.0/circleci-images/
# - image: circleci/mongo:3.4.4
working_directory: ~/repo
steps:
- checkout
# Download and cache dependencies
- restore_cache:
keys:
- v1-dependencies-{{ checksum "package.json" }}
# fallback to using the latest cache if no exact match is found
- v1-dependencies-
# run tests!
- run: |
make test-ci
- save_cache:
paths:
- node_modules
key: v1-dependencies-{{ checksum "package.json" }}