Skip to content
This repository was archived by the owner on Nov 3, 2025. It is now read-only.

Commit c641b85

Browse files
committed
🔧 (circleci) Add basic config
1 parent faddd28 commit c641b85

2 files changed

Lines changed: 27 additions & 1 deletion

File tree

.circleci/config.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
version: 2
2+
jobs:
3+
build:
4+
docker:
5+
- image: circleci/node:8.11.4
6+
7+
working_directory: ~/repo
8+
9+
steps:
10+
- checkout
11+
12+
- restore_cache:
13+
keys:
14+
- v1-dependencies-{{ checksum "package.json" }}
15+
- v1-dependencies-
16+
17+
- run: yarn install
18+
19+
- save_cache:
20+
paths:
21+
- node_modules
22+
key: v1-dependencies-{{ checksum "package.json" }}
23+
24+
- run: yarn test:ci

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,10 @@
2222
"scripts": {
2323
"test:lint": "tslint src/**/*.ts{,x}",
2424
"test:unit": "jest",
25+
"test:unit:ci": "jest --runInBand",
2526
"test:type": "tsc --noEmit",
26-
"test": "yarn test:lint && yarn test:unit && yarn test:type"
27+
"test": "yarn test:lint && yarn test:unit && yarn test:type",
28+
"test:ci": "yarn test:lint && yarn test:unit:ci && yarn test:type"
2729
},
2830
"devDependencies": {
2931
"@babel/core": "^7.4.3",

0 commit comments

Comments
 (0)