chore(main): release 12.1.0 #364
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-please | |
| on: | |
| push: | |
| branches: | |
| - main | |
| permissions: | |
| id-token: write # Required for OIDC | |
| contents: read | |
| jobs: | |
| release-please: | |
| outputs: | |
| release_created: ${{ steps.release.outputs.release_created }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: googleapis/release-please-action@v4 | |
| id: release | |
| with: | |
| token: ${{ secrets.GH_USER_TOKEN }} | |
| # Standard Conventional Commits: `feat` and `fix` | |
| # node-gyp subdirectories: `bin`, `gyp`, `lib`, `src`, `test` | |
| # node-gyp subcommands: `build`, `clean`, `configure`, `install`, `list`, `rebuild`, `remove` | |
| # Core abstract category: `deps` | |
| # Languages/platforms: `python`, `lin`, `linux`, `mac`, `macos`, `win`, `window`, `zos` | |
| # Documentation: `doc`, `docs`, `readme` | |
| # Standard Conventional Commits: `chore` (under "Miscellaneous") | |
| # Miscellaneous abstract categories: `refactor`, `ci`, `meta` | |
| npm-publish: | |
| needs: release-please | |
| if: ${{ needs.release-please.outputs.release_created }} | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| id-token: write # to generate npm provenance statements | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: lts/* | |
| registry-url: 'https://registry.npmjs.org' | |
| - run: npm install npm@11 -g # Use npm@11 to publish with OIDC | |
| - run: npm publish --provenance --access public |