2
0
mirror of https://github.com/thedevs-network/the-guard-bot synced 2025-08-31 14:15:25 +00:00

[ci] Added CircleCI config

This commit is contained in:
Muthu Kumar
2018-06-05 11:52:04 +05:30
parent c7771ff262
commit a447211f13

24
.circleci/config.yml Normal file
View File

@@ -0,0 +1,24 @@
version: 2
jobs:
build:
docker:
- image: circleci/node:10.3
working_directory: ~/repo
steps:
- checkout
- restore_cache:
keys:
- v1-dependencies-{{ checksum "package.json" }}
- v1-dependencies-
- run: npm install
- save_cache:
paths:
- node_modules
key: v1-dependencies-{{ checksum "package.json" }}
- run: npm run precommit