File tree Expand file tree Collapse file tree 3 files changed +11
-2
lines changed
packages/ngx-deploy-npm-e2e/src/utils Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 4242 with :
4343 nx-version : ${{matrix.nx-version}}
4444 node-version : ${{matrix.node-version}}
45+ verbose : true
Original file line number Diff line number Diff line change 1313 type : string
1414 description : The Node version to run the smoke test
1515 required : false
16+ verbose :
17+ type : boolean
18+ description : Enable verbose mode
19+ required : false
20+ default : false
1621
1722jobs :
1823 smoke-test :
5358 fi
5459
5560 - name : Smoke Test
56- run : npx nx smoke ngx-deploy-npm-e2e
61+ run : npx nx smoke ngx-deploy-npm-e2e --verbose=${{ inputs.verbose }}
Original file line number Diff line number Diff line change @@ -4,9 +4,10 @@ import { execSync } from 'child_process';
44
55import { ProjectConfiguration } from '@nx/devkit' ;
66import { readJson } from '@nx/plugin/testing' ;
7+ import { logger } from '@nx/devkit' ;
78
8- import { getNxWorkspaceVersion } from './get-nx-workspace-version' ;
99import { InstallGeneratorOptions } from 'bikecoders/ngx-deploy-npm' ;
10+ import { getNxWorkspaceVersion } from './get-nx-workspace-version' ;
1011import {
1112 generateLib ,
1213 initNgxDeployNPMProject ,
@@ -21,6 +22,8 @@ const executeCommandFactory =
2122 ( projectDirectory : string ) => ( command : string ) => {
2223 let output : string ;
2324
25+ logger . verbose ( `Executing command: ${ command } ` ) ;
26+
2427 try {
2528 output = execSync ( command , {
2629 stdio : 'inherit' ,
You can’t perform that action at this time.
0 commit comments