mirror of
https://github.com/cderche/greenlock-storage-s3
synced 2025-02-22 14:18:05 +00:00
commit
9d1ca2aafb
@ -7,8 +7,11 @@ jobs:
|
|||||||
- checkout
|
- checkout
|
||||||
- run: npm install
|
- run: npm install
|
||||||
- run: npm run clean
|
- run: npm run clean
|
||||||
- run: npm run test
|
- run: npm run coverage
|
||||||
|
- run: npm run codacy
|
||||||
- run: npm run clean
|
- run: npm run clean
|
||||||
|
- store_artifacts:
|
||||||
|
path: ./coverage
|
||||||
|
|
||||||
workflows:
|
workflows:
|
||||||
version: 2
|
version: 2
|
||||||
|
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,2 +1,5 @@
|
|||||||
.env
|
.env
|
||||||
node_modules/
|
node_modules/
|
||||||
|
.nyc_output/
|
||||||
|
./coverage/
|
||||||
|
coverage/
|
2008
package-lock.json
generated
2008
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
10
package.json
10
package.json
@ -5,7 +5,9 @@
|
|||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "node ./test.js",
|
"test": "node ./test.js",
|
||||||
"clean": "node ./clean.js"
|
"clean": "node ./clean.js",
|
||||||
|
"coverage": "nyc --reporter=lcovonly --report-dir=./coverage npm run test",
|
||||||
|
"codacy": "cat ./coverage/lcov.info | codacy-coverage && rm -rf ./coverage"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
@ -28,10 +30,12 @@
|
|||||||
"homepage": "https://github.com/cderche/greenlock-storage-s3#readme",
|
"homepage": "https://github.com/cderche/greenlock-storage-s3#readme",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"aws-sdk": "^2.451.0",
|
"aws-sdk": "^2.451.0",
|
||||||
"bluebird": "^3.5.4"
|
"bluebird": "^3.5.4",
|
||||||
|
"codacy-coverage": "^3.4.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"dotenv": "^8.0.0",
|
"dotenv": "^8.0.0",
|
||||||
"greenlock-store-test": "^3.0.2"
|
"greenlock-store-test": "^3.0.2",
|
||||||
|
"nyc": "^14.1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user