File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,10 +16,16 @@ jobs:
1616 name : Publish @spaceapi/validator-client on NPM registry
1717 runs-on : ubuntu-latest
1818 steps :
19- - uses : actions/checkout@v4
20- - name : Generate OpenAPI client
19+ - uses : actions/checkout@v5
20+ - uses : actions/setup-node@v6
21+ with :
22+ registry-url : " https://registry.npmjs.org"
23+ - name : Setup dependencies
2124 run : |
25+ npm install -g npm@latest
2226 npm install @openapitools/openapi-generator-cli -g
27+ - name : Generate OpenAPI client
28+ run : |
2329 openapi-generator-cli batch \*.yml
2430 cd javascript
2531 npm install
Original file line number Diff line number Diff line change 88 name : Build @spaceapi/validator-client
99 runs-on : ubuntu-latest
1010 steps :
11- - uses : actions/checkout@v4
12- - name : Generate OpenAPI client
11+ - uses : actions/checkout@v5
12+ - uses : actions/setup-node@v6
13+ with :
14+ registry-url : " https://registry.npmjs.org"
15+ - name : Setup dependencies
1316 run : |
17+ npm install -g npm@latest
1418 npm install @openapitools/openapi-generator-cli -g
19+ - name : Generate OpenAPI client
20+ run : |
1521 openapi-generator-cli batch \*.yml
1622 cd javascript
1723 npm install
You can’t perform that action at this time.
0 commit comments