fix HelpError handling (#36) #78
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: Release | |
| concurrency: | |
| group: ${{ github.workflow }} | |
| on: | |
| push: | |
| branches: | |
| - main | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| issues: write | |
| actions: write | |
| # enable for publishing | |
| id-token: write | |
| jobs: | |
| release-please: | |
| name: Release Please | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Create Release | |
| id: release | |
| uses: googleapis/release-please-action@16a9c90856f42705d54a6fda1823352bdc62cf38 # v4.4.0 | |
| - if: ${{ steps.release.outputs.release_created }} | |
| uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1 | |
| - if: ${{ steps.release.outputs.release_created }} | |
| uses: ./.github/actions/publish | |
| with: | |
| token: ${{ secrets.NPM_TOKEN }} | |
| name: Publish to npm | |
| - if: ${{ steps.release.outputs.release_created }} | |
| name: Deploy Documentation | |
| run: gh workflow run docs.yml --ref main | |
| env: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |