File tree Expand file tree Collapse file tree 3 files changed +49
-36
lines changed
Expand file tree Collapse file tree 3 files changed +49
-36
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+
2+ on :
3+ push :
4+ branches :
5+ - master
6+
7+ name : publish
8+
9+ # Required for OIDC auth against npmjs.org, see https://docs.npmjs.com/trusted-publishers
10+ permissions :
11+ id-token : write
12+ contents : read
13+
14+ jobs :
15+ publish :
16+ name : Publish @spaceapi/validator-client on NPM registry
17+ runs-on : ubuntu-latest
18+ steps :
19+ - uses : actions/checkout@v4
20+ - name : Generate OpenAPI client
21+ run : |
22+ npm install @openapitools/openapi-generator-cli -g
23+ openapi-generator-cli batch \*.yml
24+ cd javascript
25+ npm install
26+ npm build
27+ - name : Publish package
28+ run : |
29+ cd javascript
30+ npm publish --access=public
Original file line number Diff line number Diff line change 1+
2+ on : push
3+
4+ name : test
5+
6+ jobs :
7+ test :
8+ name : Publish @spaceapi/validator-client on NPM registry
9+ runs-on : ubuntu-latest
10+ steps :
11+ - uses : actions/checkout@v4
12+ - name : Generate OpenAPI client
13+ run : |
14+ npm install @openapitools/openapi-generator-cli -g
15+ openapi-generator-cli batch \*.yml
16+ cd javascript
17+ npm install
18+ npm build
19+
You can’t perform that action at this time.
0 commit comments