Skip to content

Commit 4a5c1c4

Browse files
committed
change config
1 parent 8e7e814 commit 4a5c1c4

File tree

4 files changed

+66
-23
lines changed

4 files changed

+66
-23
lines changed

.circleci/config.yml

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
version: 2.1
2+
3+
commands:
4+
run-test:
5+
steps:
6+
- checkout
7+
- restore_cache:
8+
name: Restore npm Package Data Cache
9+
key: dependency-cache-{{ checksum "package.json" }}
10+
- run:
11+
name: Install Node dependencies
12+
command: npm install
13+
- save_cache:
14+
name: Cache npm Package Data
15+
key: dependency-cache-{{ checksum "package.json" }}
16+
paths:
17+
- ./node_modules
18+
- run:
19+
name: Lint Source
20+
command: npm run test
21+
22+
jobs:
23+
node-latest:
24+
docker:
25+
- image: circleci/node:latest
26+
steps:
27+
- run-test
28+
29+
node-lts:
30+
docker:
31+
- image: circleci/node:lts
32+
steps:
33+
- run-test
34+
35+
workflows:
36+
node-run-tests:
37+
jobs:
38+
- node-latest
39+
- node-lts
40+
version: 2

.gitignore

+10-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
1-
*.xml
1+
# Package Managers
22
bower_components/
33
node_modules/
4-
npm-debug.log
5-
todo.md
64
vendor/
7-
yarn.lock
5+
yarn.lock
6+
7+
# Error Logs
8+
*npm-debug.log*
9+
yarn-error.log
10+
11+
# Project specific
12+
*.xml
13+
todo.md

.npmignore

+16
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,18 @@
1+
# Package Managers
2+
bower_components/
3+
node_modules/
4+
vendor/
5+
yarn.lock
6+
7+
# Development
8+
.circleci/
19
.editorconfig
210
.travis.yml
11+
12+
# Error Logs
13+
*npm-debug.log*
14+
yarn-error.log
15+
16+
# Project specific
17+
*.xml
18+
todo.md

.travis.yml

-19
This file was deleted.

0 commit comments

Comments
 (0)