File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -14,14 +14,22 @@ jobs:
1414
1515 - name : Generate client
1616 run : |
17- docker run --rm -v ${GITHUB_WORKSPACE}:/local openapitools/openapi-generator-cli generate -i /local/api/notification-service.yaml -g javascript -o /local/client -p projectName="@commitdev/zero-notification-service-client" -p projectDescription="Generated client for zero-notification-service" -p projectVersion="${{ github.event.release.tag_name }}" -p moduleName="NotificationService"
17+ docker run --rm -v ${GITHUB_WORKSPACE}:/local openapitools/openapi-generator:cli-5.3.x \
18+ generate -i /local/api/notification-service.yaml \
19+ -g typescript \
20+ -o /local/client \
21+ -p projectName="@commitdev/zero-notification-service-client" \
22+ -p projectDescription="Generated client for zero-notification-service" \
23+ -p projectVersion="${{ github.event.release.tag_name }}" \
24+ -p moduleName="NotificationService"
1825 sudo chmod -R a+rw ${GITHUB_WORKSPACE}
1926
2027 - uses : actions/setup-node@v1
2128 with :
22- node-version : ' 12 .x'
29+ node-version : ' 14 .x'
2330 registry-url : ' https://registry.npmjs.org'
2431 - run : cd client; npm install
32+ - run : cd client; npm run build
2533 - run : cd client; npm publish --access public
2634 env :
2735 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
You can’t perform that action at this time.
0 commit comments