Skip to content

Commit

Permalink
REG-81-add-circleci
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-sud authored Jan 31, 2022
1 parent e2b7fbc commit 1c28cfd
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
version: 2.1

executors:
node:
docker:
- image: cimg/node:10.24.1
working_directory: ~/regulome-encoded

jobs:
npm:
executor: node
resource_class: medium+
steps:
- checkout
- run:
name: Install Javascript packages and build
command: npm ci
- run:
name: npm tests
# Can't store test results, the CLI for our Jest version doesn't support --ci or --reporter flags
command: npm run circleci-test

workflows:
version: 2
regulome-encoded-tests:
jobs:
- npm
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"description": "domready held back.",
"scripts": {
"test": "jest --silent",
"circleci-test": "jest --runInBand",
"build": "gulp build",
"dev": "gulp dev"
},
Expand Down

0 comments on commit 1c28cfd

Please sign in to comment.