File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
tools/spectral/ipa/metrics/scripts Expand file tree Collapse file tree 2 files changed +4
-2
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- run : node ./tools/spectral/ipa/metrics/scripts/runMetricCollection.js ${{ github.workspace }}/openapi/v2.json # TODO: Change to foas in release run
75+ working-directory : ./tools/spectral/ipa/metrics/scripts
76+ run : node runMetricCollection.js ../../../../../openapi/v2.json # TODO: Change to foas in release run
7677
7778 - name : Dump Metric Collection Job Data to S3
7879 env :
Original file line number Diff line number Diff line change @@ -28,7 +28,8 @@ if (oasFilePath && !fs.existsSync(oasFilePath)) {
2828 process . exit ( 1 ) ;
2929}
3030
31- const result = spawnSync ( 'spectral' , [
31+ const result = spawnSync ( 'npx' , [
32+ 'spectral' ,
3233 'lint' ,
3334 oasFilePath ? oasFilePath : config . defaultOasFilePath ,
3435 '--ruleset' ,
You can’t perform that action at this time.
0 commit comments