-{"name":"Release Please","on":{"push":{"branches":["main"]}},"permissions":{},"concurrency":{"group":"${{ github.workflow }}-${{ github.ref }}","cancel-in-progress":false},"jobs":{"releasePlease":{"runs-on":"ubuntu-latest","permissions":{"contents":"write","pull-requests":"write"},"timeout-minutes":10,"outputs":{"shouldRelease":"${{ steps.releasePlease.outputs.release_created }}"},"steps":[{"id":"releasePlease","with":{"release-type":"node"},"uses":"googleapis/release-please-action@a02a34c4d625f9be7cb89156071d8567266a2445"}]},"release":{"runs-on":"ubuntu-latest","permissions":{"contents":"read"},"timeout-minutes":10,"needs":"releasePlease","if":"${{ needs.releasePlease.outputs.shouldRelease }}","steps":[{"with":{"persist-credentials":"false"},"uses":"actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683"},{"uses":"jdx/mise-action@7a111ead46986ccad89a74ad013ba2a7c08c9e67"},{"with":{"path":"~/.bun/install/cache","key":"${{ runner.os }}-bun-${{ hashFiles('**/bun.lock') }}","restore-keys":"${{ runner.os }}-bun-"},"uses":"actions/cache@5a3ec84eff668545956fd18022155c47e93e2684"},{"run":"bun install --frozen-lockfile"},{"run":"bun run build:package"},{"run":"\n(\n # shellcheck disable=SC2016\n echo '//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}'\n echo 'registry=https://registry.npmjs.org'\n) > .npmrc\n"},{"env":{"NODE_AUTH_TOKEN":"${{ secrets.NPM_TOKEN }}"},"run":"npm publish"}]}}}
0 commit comments