v1.2.0 #4
Workflow file for this run
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
| # IMPORTANT: DO NOT RENAME THIS FILE | |
| # It uses npm Trusted Publishing to deploy without a token. | |
| # The workflow name and filename must match what is configured on npmjs.com. | |
| # See README "Release with Release Please" for setup instructions. | |
| name: Release | |
| on: | |
| release: | |
| types: [published] | |
| workflow_dispatch: | |
| permissions: | |
| id-token: write # needed for npm publish with provenance | |
| jobs: | |
| release: | |
| name: Release | |
| runs-on: ubuntu-latest | |
| steps: | |
| # https://github.com/actions/checkout | |
| - uses: actions/checkout@v5 | |
| # https://github.com/pnpm/action-setup | |
| - uses: pnpm/action-setup@v6 | |
| # https://github.com/actions/setup-node | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 24 | |
| registry-url: https://registry.npmjs.org/ | |
| cache: 'pnpm' | |
| - run: pnpm install | |
| - run: pnpm build | |
| - run: pnpm publish --provenance --no-git-checks |