File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
tools/spectral/ipa/metrics/scripts Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 7272# run-id: ${{ github.run_id }}
7373
7474 - name : Run Metric Collection Job
75- working-directory : ./tools/spectral/ipa/metrics/scripts
76- run : node runMetricCollection.js ../../../../../openapi/v2.json # TODO: Change to foas in release run
75+ run : node ./tools/spectral/ipa/metrics/scripts/runMetricCollection.js ${{ github.workspace }}/openapi/v2.json # TODO: Change to foas in release run
7776
7877 - name : Dump Metric Collection Job Data to S3
7978 env :
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ if (oasFilePath && !fs.existsSync(oasFilePath)) {
2828 process . exit ( 1 ) ;
2929}
3030
31- const result = spawnSync ( 'npx spectral' , [
31+ const result = spawnSync ( 'spectral' , [
3232 'lint' ,
3333 oasFilePath ? oasFilePath : config . defaultOasFilePath ,
3434 '--ruleset' ,
You can’t perform that action at this time.
0 commit comments