File tree Expand file tree Collapse file tree 4 files changed +1958
-4
lines changed
Expand file tree Collapse file tree 4 files changed +1958
-4
lines changed Original file line number Diff line number Diff line change 44 lint :
55 runs-on : ubuntu-latest
66 steps :
7- - uses : actions/checkout@v3
8- - uses : actions/setup-node@v3
9- - name : spectral-lint
10- run : ./validator/scripts/validate-all.sh
7+ - uses : actions/checkout@v3
8+ - uses : actions/setup-node@v3
9+ - name : Install yarn
10+ run : npm install -g yarn
11+ - name : yarn
12+ working-directory : ./validator
13+ run : yarn install --immutable
14+ - name : spectral-lint
15+ working-directory : ./validator
16+ run : yarn lint
Original file line number Diff line number Diff line change 11.DS_Store
22
3+ node_modules
4+
35# JetBrains generated files
46.idea
Original file line number Diff line number Diff line change 1+ {
2+ "name" : " xero-openapi-validator" ,
3+ "version" : " 1.0.0" ,
4+ "description" : " Validation for Xero OpenAPI specifications using Spectral" ,
5+ "type" : " module" ,
6+ "scripts" : {
7+ "lint" : " spectral lint '../xero*.yaml'"
8+ },
9+ "dependencies" : {
10+ "@stoplight/spectral-cli" : " ^6.0.0" ,
11+ "@stoplight/spectral-owasp-ruleset" : " 2.0.1"
12+ }
13+ }
You can’t perform that action at this time.
0 commit comments