mirror of
https://github.com/codecov/codecov-action.git
synced 2025-12-08 08:06:27 +00:00
Update linter
This commit is contained in:
@@ -1,6 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
npm i --package-lock-only
|
npm i --package-lock-only
|
||||||
|
npm run lint --fix
|
||||||
npm run build
|
npm run build
|
||||||
|
git add src/
|
||||||
git add dist/index.js
|
git add dist/index.js
|
||||||
git add package-lock.json
|
git add package-lock.json
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
"description": "Upload coverage reports to Codecov from GitHub Actions",
|
"description": "Upload coverage reports to Codecov from GitHub Actions",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"lint": "eslint",
|
"lint": "eslint src/*.*",
|
||||||
"test": "yarn run test-script && yarn run test-calculator && yarn run test-coverage",
|
"test": "yarn run test-script && yarn run test-calculator && yarn 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",
|
||||||
|
|||||||
Reference in New Issue
Block a user