chore(main): release 6.1.3 (#54) #62
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
| # https://github.com/marketplace/actions/release-please-action | |
| on: | |
| push: | |
| branches: | |
| - main | |
| permissions: | |
| id-token: write | |
| contents: write | |
| pull-requests: write | |
| name: release-please | |
| jobs: | |
| release-please: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: googleapis/release-please-action@v4 | |
| id: release | |
| with: | |
| release-type: node | |
| - uses: actions/checkout@v4 | |
| # Ensure that a publication only occurs when a new release is created | |
| if: ${{ steps.release.outputs.release_created }} | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| registry-url: 'https://registry.npmjs.org' | |
| if: ${{ steps.release.outputs.release_created }} | |
| - run: npm install -g npm@11 # 11.5.1 needed for OIDC / Trusted publishing | |
| if: ${{ steps.release.outputs.release_created }} | |
| - run: yarn install --frozen-lockfile | |
| if: ${{ steps.release.outputs.release_created }} | |
| - run: yarn build | |
| if: ${{ steps.release.outputs.release_created }} | |
| - run: npm publish --access public | |
| if: ${{ steps.release.outputs.release_created }} |