chore(release): v0.5.0 #1
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
| name: Release to npmjs | |
| on: | |
| push: | |
| tags: | |
| - "v*" | |
| jobs: | |
| test: | |
| uses: ./.github/workflows/ci.yml | |
| release: | |
| environment: release-npmjs | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| id-token: write # Required for OIDC | |
| steps: | |
| - uses: actions/checkout@v5.0.0 | |
| with: | |
| persist-credentials: false | |
| - uses: actions/setup-node@v5.0.0 | |
| with: | |
| # Use a Node.js version with an NPM version that supports OIDC. | |
| # OIDC is supported since NPM 11.5.1. | |
| node-version: 24.8.0 | |
| registry-url: "https://registry.npmjs.org" | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Publish (build and test in prepublishOnly hook) | |
| run: npm publish --provenance --access public |