CircleCI integration

This commit is contained in:
Cyrille 2019-05-08 12:04:12 +01:00
parent eb6a2b8e9b
commit 966ea9492c
5 changed files with 23 additions and 1 deletions

17
.circleci/config.yml Normal file
View File

@ -0,0 +1,17 @@
version: 2
jobs:
test:
docker:
- image: circleci/node:10.13
steps:
- checkout
- run: npm install
- run: npm run clean
- run: npm run test
- run: npm run clean
workflows:
version: 2
test:
jobs:
- test

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
.env
/node-modules

1
clean.js Normal file
View File

@ -0,0 +1 @@
console.log('Cleaning the project.');

View File

@ -4,7 +4,8 @@
"description": "S3 backed storage strategy for greenlock-express.js (and greenlock.js)",
"main": "index.js",
"scripts": {
"test": "node ./test.js"
"test": "node ./test.js",
"clean": "node ./clean.js"
},
"repository": {
"type": "git",

1
test.js Normal file
View File

@ -0,0 +1 @@
console.log('Testing the strategy.');