File tree Expand file tree Collapse file tree 4 files changed +7
-1
lines changed Expand file tree Collapse file tree 4 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,8 @@ install:
3636
3737script :
3838 - test $MD_ONLY && echo "Skipped!" || yarn lint:js
39+ # Typecheck and compile the addon, then nuke the TS source so we're testing the code we would publish
40+ - test $MD_ONLY && echo "Skipped!" || yarn ci:prepare
3941 # Usually, it's ok to finish the test scenario without reverting
4042 # to the addon's original dependency state, skipping "cleanup".
4143 - test $MD_ONLY && echo "Skipped!" || yarn ember try:one $EMBER_TRY_SCENARIO --skip-cleanup
Original file line number Diff line number Diff line change 2727test_script :
2828 # Output useful info for debugging.
2929 - yarn versions
30+ # Typecheck and compile the addon, then nuke the TS source so we're testing the code we would publish
31+ - cmd : yarn ci:prepare
3032 - cmd : yarn ember try:one defaults
3133
3234# Don't actually build.
Original file line number Diff line number Diff line change 11module . exports = {
22 useYarn : true ,
3- command : 'ember test && yarn nodetest ' ,
3+ command : 'yarn ci:test ' ,
44 scenarios : [
55 {
66 name : 'defaults' ,
Original file line number Diff line number Diff line change 2727 "lint:js" : " eslint ./*.js addon addon-test-support app blueprints config lib server test-support tests" ,
2828 "start" : " ember serve" ,
2929 "test" : " ember test" ,
30+ "ci:prepare" : " yarn prepublishOnly && rimraf ts" ,
31+ "ci:test" : " ember test && mocha --recursive js/tests" ,
3032 "test:node" : " mocha -r register-ts-node 'ts/tests/**/*.{ts,js}'" ,
3133 "test:all" : " ember try:each" ,
3234 "prepublishOnly" : " yarn tsc --project ts --noEmit false" ,
You can’t perform that action at this time.
0 commit comments