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@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 with: fetch-depth: 0 - name: git config run: | git config --global user.name 'Invertase Publisher' git config --global user.email 'oss@invertase.io' - uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # 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 }}