workflow: update release script for dts tests

This commit is contained in:
Evan You 2020-06-12 18:03:51 -04:00
parent 51510adacb
commit 8d33be6ae4
2 changed files with 3 additions and 2 deletions

View File

@ -12,7 +12,8 @@
"format": "prettier --write --parser typescript \"packages/**/*.ts?(x)\"",
"ls-lint": "ls-lint",
"test": "node scripts/build.js vue -f global -d && jest",
"test-dts": "node scripts/build.js shared reactivity runtime-core runtime-dom -dt -f esm-bundler && tsc -p ./test-dts/tsconfig.json && tsc -p ./test-dts/tsconfig.build.json",
"test-dts": "node scripts/build.js shared reactivity runtime-core runtime-dom -dt -f esm-bundler && yarn test-dts-only",
"test-dts-only": "tsc -p ./test-dts/tsconfig.json && tsc -p ./test-dts/tsconfig.build.json",
"release": "node scripts/release.js",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
"dev-compiler": "npm-run-all --parallel \"dev template-explorer\" serve",

View File

@ -94,7 +94,7 @@ async function main() {
await run('yarn', ['build', '--release'])
// test generated dts files
step('\nVerifying type declarations...')
await run(bin('tsd'))
await run('yarn', ['test-dts-only'])
} else {
console.log(`(skipped)`)
}