Fix scripts
This commit is contained in:
parent
773a356788
commit
0a1b289ce4
|
@ -16,6 +16,5 @@ jobs:
|
|||
- uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: 14.16.0
|
||||
- run: cd test
|
||||
- run: npm ci
|
||||
- run: npm run test-install
|
||||
- run: npm run test-ci
|
||||
|
|
|
@ -39,6 +39,12 @@
|
|||
"node": ">=14.16.0",
|
||||
"npm": ">=6.14.1"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "cd test && npm run test && cd ..",
|
||||
"test-ci": "cd test && npm run test-ci && cd ..",
|
||||
"test-install": "cd test && npm ci && cd ..",
|
||||
"test-coverage": "cd test && npm run coverage && cd .."
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/node-3d/addon-tools-raub.git"
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
"scripts": {
|
||||
"test": "jest --coverage=false --watch",
|
||||
"test-ci": "jest --coverage=false --verbose",
|
||||
"coverage": "rm -rf ../doc/jest && jest --coverage --silent",
|
||||
"build": "node-gyp rebuild",
|
||||
"preinstall": "cd .. && npm ci"
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue