mirror of
https://github.com/codecov/codecov-action.git
synced 2026-02-10 04:57:24 +00:00
Merge branch 'master' into v2
This commit is contained in:
commit
112e1a0afd
2 changed files with 2 additions and 2 deletions
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
|
|
@ -11,7 +11,7 @@ jobs:
|
||||||
- name: Lint
|
- name: Lint
|
||||||
run: npm run lint
|
run: npm run lint
|
||||||
- name: Run tests and collect coverage
|
- name: Run tests and collect coverage
|
||||||
run: yarn run test
|
run: npm run test
|
||||||
- name: Upload coverage to Codecov (demo)
|
- name: Upload coverage to Codecov (demo)
|
||||||
uses: ./
|
uses: ./
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"lint": "eslint src/*.*",
|
"lint": "eslint src/*.*",
|
||||||
"test": "yarn run test-script && yarn run test-calculator && yarn run test-coverage",
|
"test": "npm run test-script && npm run test-calculator && npm run test-coverage",
|
||||||
"test-calculator": "jest --testPathPattern=demo/calculator/ --coverage --coverageDirectory=coverage/calculator",
|
"test-calculator": "jest --testPathPattern=demo/calculator/ --coverage --coverageDirectory=coverage/calculator",
|
||||||
"test-coverage": "jest --testPathPattern=demo/coverage-test/ --coverage --coverageDirectory=coverage/coverage-test",
|
"test-coverage": "jest --testPathPattern=demo/coverage-test/ --coverage --coverageDirectory=coverage/coverage-test",
|
||||||
"test-script": "jest --testPathPattern=src/ --coverage --coverageDirectory=coverage/script",
|
"test-script": "jest --testPathPattern=src/ --coverage --coverageDirectory=coverage/script",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue