Skip to content

Merge pull request #24 from ubiquity/development #12

Merge pull request #24 from ubiquity/development

Merge pull request #24 from ubiquity/development #12

name: release-please
on:
workflow_dispatch:
push:
branches:
- main
permissions:
contents: write
pull-requests: write
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
if: ${{ steps.release.outputs.release_created }}
- uses: actions/setup-node@v4
with:
node-version: "20.10.0"
registry-url: "https://registry.npmjs.org"
if: ${{ steps.release.outputs.release_created }}
- run: |
yarn install --immutable --immutable-cache --check-cache
yarn build
yarn pack
if: ${{ steps.release.outputs.release_created }}
- run: yarn publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
if: ${{ steps.release.outputs.release_created }}