Skip to content

docs: adding Bubble to API docs (#761) #700

docs: adding Bubble to API docs (#761)

docs: adding Bubble to API docs (#761) #700

name: release-please
on:
push:
branches:
- main
permissions:
contents: write
pull-requests: write
jobs:
release-please:
runs-on: blacksmith-4vcpu-ubuntu-2204
steps:
- name: Initialize Release Please
id: release
uses: googleapis/release-please-action@v4
with:
token: ${{ secrets.NODE_CLI }}
- name: Checkout Repository
if: ${{ steps.release.outputs.releases_created }}
uses: actions/checkout@v4
- name: Setup PNPM
uses: pnpm/action-setup@v4
- name: Setup Node
uses: useblacksmith/setup-node@v5
if: ${{ steps.release.outputs.releases_created }}
with:
node-version: 22.x
registry-url: "https://registry.npmjs.org"
cache: "pnpm"
- name: Install Dependencies
run: pnpm install
- name: Build Packages
if: ${{ steps.release.outputs.releases_created }}
run: |
npx lerna run build --scope="@versini/ui-styles"
npx lerna run build --ignore="@versini/example-*" --ignore="@versini/documentation" --ignore="@versini/api" --ignore="@versini/bundlesize" --ignore="@versini/ui-styles"
# Release Please has already incremented versions
# and published tags, so we just need to publish
# all unpublished versions to NPM.
# See: https://github.com/lerna/lerna/tree/main/libs/commands/publish#readme
- name: Publish Packages
if: ${{ steps.release.outputs.releases_created }}
run: npx lerna publish from-package --no-push --no-private --yes --loglevel debug
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_PUBLISH_TOKEN}}