Skip to content

Commit 501d196

Browse files
authored
@gasket/resolve w/ CircleCI (#3)
* [api test] Prepare @gasket/resolve for OSS release. * [dist] Consistency * [dist] Add CircleCI config. * [dist fix] Learn the lerna. * [dist fix] Latest deps. * [dist] Moar deps.
1 parent b21c597 commit 501d196

18 files changed

+12227
-2
lines changed

.circleci/config.yaml

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
version: 2
2+
3+
jobs:
4+
build:
5+
docker:
6+
# specify the version you desire here
7+
- image: circleci/node:10
8+
9+
working_directory: ~/repo
10+
11+
steps:
12+
- checkout
13+
14+
# Download and cache dependencies
15+
- restore_cache:
16+
keys:
17+
- v1-dependencies-{{ checksum "package.json" }}
18+
# fallback to using the latest cache if no exact match is found
19+
- v1-dependencies-
20+
21+
# Install lerna & bootstrap the mono-repo
22+
- run: npm install
23+
- run: lerna bootstrap
24+
25+
- save_cache:
26+
paths:
27+
- node_modules
28+
key: v1-dependencies-{{ checksum "package.json" }}
29+
30+
# Link the mono repo
31+
- run: lerna link
32+
33+
# Run tests!
34+
— run: npm test

0 commit comments

Comments
 (0)