Skip to content

Commit d1a7370

Browse files
committed
[Test] Add CircleCI configuration
1 parent 1a92c1c commit d1a7370

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

.circleci/config.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
version: 2
2+
jobs:
3+
build:
4+
docker:
5+
- image: circleci/node:latest
6+
steps:
7+
- checkout
8+
- restore_cache:
9+
keys:
10+
- v1-dependencies-{{ checksum "package.json" }}
11+
# fallback to using the latest cache if no exact match is found
12+
- v1-dependencies-
13+
- run: npm install
14+
- save_cache:
15+
paths:
16+
- node_modules
17+
key: v1-dependencies-{{ checksum "package.json" }}
18+
- run: ./node_modules/.bin/eslint ./

package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"devDependencies": {
3+
"eslint": "*"
4+
}
5+
}

0 commit comments

Comments
 (0)