workflow: update release script for dts tests
This commit is contained in:
parent
51510adacb
commit
8d33be6ae4
@ -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",
|
||||
|
@ -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)`)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user