Skip to content

chore(main): release 3.0.0 #180

chore(main): release 3.0.0

chore(main): release 3.0.0 #180

Workflow file for this run

name: Pre-release
permissions: read-all
on:
push:
branches:
- release-please-*
jobs:
pre-release:
if: "${{ startsWith(github.event.head_commit.message, 'chore(main): release') }}"
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.0.0
with:
ssh-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: Install dependencies
run: npm ci
- name: Build library
run: npm run build
- name: Build docs
run: npm run docs
- name: Format
run: npm run format
- name: Commit
run: |
git config --global user.name 'release-please[bot]'
git config --global user.email '55107282+release-please[bot]@users.noreply.github.com'
git add --all
if ! git diff-index --quiet HEAD; then
git commit -m 'chore: generate docs'
git push --no-verify
fi