Skip to content

build: updated release-please manifest #35

build: updated release-please manifest

build: updated release-please manifest #35

Workflow file for this run

name: Release using release-please
on:
push:
branches:
- deploy
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v4
id: release
with:
release-type: node
# The logic below handles the npm publication:
- uses: actions/checkout@v4
# these if statements ensure that a publication only occurs when
# a new release is created:
if: ${{ steps.release.outputs.release_created }}
- uses: actions/setup-node@v3
if: ${{ steps.release.outputs.release_created }}
with:
node-version: 16.17.1
registry-url: 'https://registry.npmjs.org'
- name: Install pnpm & lerna
if: ${{ steps.release.outputs.release_created }}
working-directory: .
# run: npm i [email protected] [email protected] -g
run: npm i [email protected] -g
- name: Install dependencies
if: ${{ steps.release.outputs.release_created }}
working-directory: .
run: pnpm i --frozen-lockfile
- name: Update versions
if: ${{ steps.release.outputs.release_created }}
working-directory: .
run: npm run :update:versions && git add -A && git commit --no-edit --amend
# run: lerna version --yes
- name: Publish all packages
if: ${{ steps.release.outputs.release_created }}
working-directory: .
run: npm run :publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}