Skip to content

release: 6.0.0

release: 6.0.0 #66

Workflow file for this run

name: Publish
on:
push:
branches:
- main
- canary
jobs:
release:
name: Publish
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Install
uses: ./.github/composite-actions/install
- name: Publish
run: pnpm semantic-release
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_BOT_PAT }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN_ELEVATED }}
GIT_AUTHOR_NAME: ${{ secrets.RELEASE_BOT_NAME }}
GIT_AUTHOR_EMAIL: ${{ secrets.RELEASE_BOT_EMAIL }}
GIT_COMMITTER_NAME: ${{ secrets.RELEASE_BOT_NAME }}
GIT_COMMITTER_EMAIL: ${{ secrets.RELEASE_BOT_EMAIL }}
update-canary:
if: ${{ github.ref == 'refs/heads/main' }}
needs: [release]
name: Update canary
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: 'canary'
token: ${{ secrets.RELEASE_BOT_PAT }}
- name: Back-merge main into canary
run: |
git merge --ff-only origin/main
git push