mirror of
https://github.com/idrawjs/idraw
synced 2026-05-24 01:58:27 +00:00
chore: update workflows/coverage.yml
This commit is contained in:
parent
cabf0091c9
commit
f41e7c10a7
3 changed files with 4 additions and 1 deletions
1
.github/workflows/coverage.yml
vendored
1
.github/workflows/coverage.yml
vendored
|
|
@ -28,6 +28,7 @@ jobs:
|
|||
- run: npm install
|
||||
- run: npm run beforetest
|
||||
- run: npm run cover
|
||||
- run: npm run hello
|
||||
- name: Upload coverage to Codecov
|
||||
uses: codecov/codecov-action@v2
|
||||
with:
|
||||
|
|
|
|||
|
|
@ -21,7 +21,8 @@
|
|||
"precommit": "npm run lint",
|
||||
"prepush": "npm run lint",
|
||||
"clear:jest": "rm -rf ./packages/*/__tests__/__snapshots__",
|
||||
"pu": "npm run build && lerna publish --force-publish"
|
||||
"pu": "npm run build && lerna publish --force-publish",
|
||||
"hello": "node ./scripts/hello.js"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.13.14",
|
||||
|
|
|
|||
1
scripts/hello.js
Normal file
1
scripts/hello.js
Normal file
|
|
@ -0,0 +1 @@
|
|||
console.log('Hello World!')
|
||||
Loading…
Reference in a new issue