PATCH: fix declared auth method in openapi #193
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Typescript Api Client | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - master | |
| jobs: | |
| publish: | |
| runs-on: self-hosted | |
| if: contains(' | |
| refs/heads/master | |
| refs/heads/main' | |
| , github.ref) | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: actions/setup-node@v3 | |
| with: | |
| node-version: "20" | |
| - name: Install dependencies | |
| run: npm install --prefix package | |
| - name: Build | |
| run: npm run build --prefix package | |
| - name: Install release dependencies | |
| run: | | |
| npm install --no-save \ | |
| --prefix package \ | |
| @semantic-release/npm \ | |
| @semantic-release/github \ | |
| conventional-changelog-eslint \ | |
| - name: Release | |
| run: npx semantic-release@23.1.1 -e ./config/release.config.js | |
| working-directory: ./package | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.REPOS_TOKEN }} | |
| NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |