File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -16,13 +16,13 @@ jobs:
1616 cache : ' npm'
1717
1818 - name : Install Redocly CLI
19- run : npm install -g @redocly/cli@latest
19+ run : npm install
2020
2121 - name : Lint OpenAPI specification
22- run : redocly lint openapi.yml
22+ run : npm run lint
2323
2424 - name : Bundle OpenAPI specification
25- run : redocly bundle openapi.yml --output bundled-openapi.yml
25+ run : npm run bundle
2626
2727 - name : Upload bundled specification
2828 uses : actions/upload-artifact@v4
Original file line number Diff line number Diff line change 2121 "type" : " commonjs" ,
2222 "main" : " index.js" ,
2323 "scripts" : {
24- "test" : " test"
24+ "lint" : " redocly lint openapi.yml" ,
25+ "bundle" : " redocly bundle openapi.yml --output bundled-openapi.yml"
2526 },
2627 "dependencies" : {
2728 "@redocly/cli" : " ^1.34.4"
You can’t perform that action at this time.
0 commit comments