Publish #7
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: | |
| workflow_dispatch: | |
| jobs: | |
| release: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write # For git operations | |
| id-token: write # < REQUIRED FOR OIDC | |
| steps: | |
| - uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 0 | |
| - name: git config | |
| run: | | |
| git config --global user.name 'Invertase Publisher' | |
| git config --global user.email '[email protected]' | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: "lts/*" | |
| registry-url: "https://registry.npmjs.org" | |
| - name: publish package | |
| run: | | |
| yarn | |
| yarn release-it --ci | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.MIKE_HARDY_RELEASE_GITHUB_TOKEN }} |