Bump to v0.1.0 and changelog update (#14) #34
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: Publish | |
| on: | |
| push: | |
| branches: | |
| - main | |
| tags: | |
| - '*' | |
| pull_request: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| publish-github: | |
| name: Publish Package | |
| runs-on: ubuntu-latest | |
| permissions: | |
| packages: read | |
| id-token: write | |
| if: startsWith(github.ref, 'refs/tags/') | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22.x | |
| registry-url: https://registry.npmjs.org | |
| - name: Update npm (OIDC/provenance support) | |
| run: npm i -g npm@latest | |
| - name: Install | |
| run: yarn install --ignore-scripts | |
| - name: Publish (OIDC) | |
| run: npm publish |