File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -36,12 +36,15 @@ jobs:
3636 - name : Validate fixture comparison JSON
3737 shell : bash
3838 run : |
39- npm run vsc -- compare:fixtures --json > comparison-result.json
40- cat comparison-result.json
39+ node src/vscCli.js compare:fixtures --json > comparison-result.json
40+ head -n 5 comparison-result.json
41+ node -e "const fs=require('fs'); JSON.parse(fs.readFileSync('comparison-result.json','utf8')); console.log('comparison-result.json is valid JSON')"
4142 node -e "const fs = require('fs'); const data = JSON.parse(fs.readFileSync('comparison-result.json', 'utf8')); if (data.result !== 'COMPARE_PASS') { console.error(data); process.exit(1); } console.log('COMPARE_JSON_PASS');"
4243
43- - name : Run full VSC verification
44- run : npm run vsc -- verify-all
44+ - name : Run bundle verification against conformance fixture
45+ shell : bash
46+ run : |
47+ go run ./cmd/vsc-go verify-bundle conformance/v2.7/fixtures/pass-basic/bundle
4548
4649 - name : Create comparison report
4750 shell : bash
Original file line number Diff line number Diff line change @@ -370,7 +370,8 @@ Use: npm run vsc -- restore-delta <base-token.json> <delta-token.json>
370370 case "compare:fixtures" : {
371371 // v2.8.1 conformance comparison runner.
372372 // Reads v2.7 fixture index and compares Go verifier --json output against expected results.
373- run ( "scripts/compareConformanceResults.js" ) ;
373+ // Forward remaining args (e.g. --json) so the runner can switch output mode.
374+ run ( "scripts/compareConformanceResults.js" , args . slice ( 1 ) ) ;
374375 break ;
375376 }
376377
You can’t perform that action at this time.
0 commit comments