Skip to content

Commit

Permalink
fix: update release workflow for node support
Browse files Browse the repository at this point in the history
Changed release type and added setup steps for Node and Bun.
  • Loading branch information
gentlementlegen committed Oct 11, 2024
1 parent f379d97 commit 5e1239e
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,23 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: googleapis/release-please-action@v4
id: release
with:
release-type: simple
release-type: node
target-branch: main
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20.10.0"
registry-url: https://registry.npmjs.org/

- uses: oven-sh/setup-bun@v1

- run: |
bun install -p --frozen-lockfile
bun sdk:build
if: ${{ steps.release.outputs.release_created }}
- run: bun publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
if: ${{ steps.release.outputs.release_created }}
Binary file modified bun.lockb
Binary file not shown.

0 comments on commit 5e1239e

Please sign in to comment.