Skip to content

Commit 1c28cfd

Browse files
authored
REG-81-add-circleci
1 parent e2b7fbc commit 1c28cfd

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

.circleci/config.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
version: 2.1
2+
3+
executors:
4+
node:
5+
docker:
6+
- image: cimg/node:10.24.1
7+
working_directory: ~/regulome-encoded
8+
9+
jobs:
10+
npm:
11+
executor: node
12+
resource_class: medium+
13+
steps:
14+
- checkout
15+
- run:
16+
name: Install Javascript packages and build
17+
command: npm ci
18+
- run:
19+
name: npm tests
20+
# Can't store test results, the CLI for our Jest version doesn't support --ci or --reporter flags
21+
command: npm run circleci-test
22+
23+
workflows:
24+
version: 2
25+
regulome-encoded-tests:
26+
jobs:
27+
- npm

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"description": "domready held back.",
55
"scripts": {
66
"test": "jest --silent",
7+
"circleci-test": "jest --runInBand",
78
"build": "gulp build",
89
"dev": "gulp dev"
910
},

0 commit comments

Comments
 (0)