Skip to content

Commit

Permalink
workflow: update release script for dts tests
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Jun 12, 2020
1 parent 51510ad commit 8d33be6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion scripts/release.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)`)
}
Expand Down

0 comments on commit 8d33be6

Please sign in to comment.