|
4 | 4 | release: |
5 | 5 | types: |
6 | 6 | - published |
| 7 | + workflow_dispatch: |
7 | 8 |
|
8 | 9 | jobs: |
9 | 10 | deploy: |
@@ -49,23 +50,31 @@ jobs: |
49 | 50 | node-version: 22 |
50 | 51 | registry-url: "https://registry.npmjs.org" |
51 | 52 |
|
| 53 | + - name: Generate SDK with Updated Version |
| 54 | + |
| 55 | + with: |
| 56 | + openapi-generator-version: 7.9.0 |
| 57 | + language: typescript-axios |
| 58 | + additional-properties: --additional-properties=npmVersion=$PACKAGE_VERSION |
| 59 | + |
52 | 60 | - name: Install Packages and Test |
53 | 61 | run: | |
| 62 | + cat package.json |
54 | 63 | yarn |
55 | 64 | npm install -g @stoplight/prism-cli |
56 | 65 | prism mock ./bandwidth.yml & yarn test-unit |
57 | 66 | shell: bash |
58 | 67 |
|
59 | | - - name: Publish npm Package |
60 | | - run: | |
61 | | - npm version $PACKAGE_VERSION --no-git-tag-version |
62 | | - npm publish --access public |
63 | | - env: |
64 | | - NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} |
| 68 | + # - name: Publish npm Package |
| 69 | + # run: | |
| 70 | + # npm version $PACKAGE_VERSION --no-git-tag-version |
| 71 | + # npm publish --access public |
| 72 | + # env: |
| 73 | + # NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} |
65 | 74 |
|
66 | | - - uses: Bandwidth/[email protected] |
67 | | - if: always() |
68 | | - with: |
69 | | - job-status: ${{ job.status }} |
70 | | - slack-bot-token: ${{ secrets.SLACK_BOT_TOKEN }} |
71 | | - slack-channel: ${{ secrets.SLACK_CHANNEL }} |
| 75 | + # - uses: Bandwidth/[email protected] |
| 76 | + # if: always() |
| 77 | + # with: |
| 78 | + # job-status: ${{ job.status }} |
| 79 | + # slack-bot-token: ${{ secrets.SLACK_BOT_TOKEN }} |
| 80 | + # slack-channel: ${{ secrets.SLACK_CHANNEL }} |
0 commit comments