mirror of
https://github.com/codecov/codecov-action.git
synced 2026-02-11 12:51:37 +00:00
Add tests
This commit is contained in:
10
package.json
10
package.json
@@ -1,14 +1,14 @@
|
||||
{
|
||||
"name": "codecov-action",
|
||||
"version": "1.1.1",
|
||||
"version": "1.2.0",
|
||||
"description": "Upload coverage reports to Codecov from GitHub Actions",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"test": "jest --coverage",
|
||||
"test-calculator": "jest --testPathPattern=src/calculator/ --coverage --coverageDirectory=coverage/calculator",
|
||||
"test-index": "jest --testPathPattern=src/index --coverage --coverageDirectory=coverage/index",
|
||||
"test-all": "yarn run test && yarn run test-calculator && yarn run test-index",
|
||||
"build": "ncc build index.js"
|
||||
"test-all": "yarn run test && yarn run test-calculator && yarn run test-index && eslint",
|
||||
"build": "ncc build src/index.ts"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@@ -35,5 +35,7 @@
|
||||
"typescript": "^4.1.3",
|
||||
"yarn": "^1.22.10"
|
||||
},
|
||||
"devDependencies": {}
|
||||
"devDependencies": {
|
||||
"eslint": "^7.17.0"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user