Skip to content

Merge pull request #26 from ubiquity-os/development #24

Merge pull request #26 from ubiquity-os/development

Merge pull request #26 from ubiquity-os/development #24

name: release-please
on:
workflow_dispatch:
push:
branches:
- main
permissions:
contents: write
pull-requests: write
env:
HUSKY: 0
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: googleapis/release-please-action@v4
id: release
with:
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@v2
- name: Build
run: |
bun install --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 }}