Skip to content

chore: release main #30

chore: release main

chore: release main #30

on:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: write
pull-requests: write
name: release-please
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v3
id: release
with:
command: manifest
monorepo-tags: true
- uses: actions/setup-node@v2
if: ${{ steps.release.outputs.releases_created }}
with:
node-version: 18
registry-url: 'https://registry.npmjs.org'
- name: Checkout repository
if: ${{ steps.release.outputs.releases_created }}
uses: actions/checkout@v3
- name: Build
if: ${{ steps.release.outputs.releases_created }}
run: yarn && yarn run build
- name: Publish project
if: ${{ steps.release.outputs.releases_created }}
run: yarn run lerna:publish from-package --yes
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}