File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
.github/actions/code-pushup Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 1414 using : composite
1515 steps :
1616 - name : Run Node script
17- run : npx tsx .github/actions/code-pushup/src/runner.ts
17+ run : node .github/actions/code-pushup/src/runner.ts
1818 shell : bash
1919 env :
2020 TSX_TSCONFIG_PATH : .github/actions/code-pushup/tsconfig.json
21+ NODE_OPTIONS : --import=tsx
2122 GH_TOKEN : ${{ inputs.token }}
2223 MODE : ${{ inputs.mode }}
Original file line number Diff line number Diff line change @@ -159,7 +159,8 @@ async function run(): Promise<void> {
159159 }
160160 : {
161161 jobId : 'standalone-mode' ,
162- bin : 'npx nx code-pushup --' ,
162+ // run without Nx to demonstrate native GitHub Actions log groups
163+ bin : 'node packages/cli/src/index.ts' ,
163164 } ;
164165
165166 const gitRefs = parseGitRefs ( ) ;
You can’t perform that action at this time.
0 commit comments