Skip to content

release: 1.1.0-canary.4 #21

release: 1.1.0-canary.4

release: 1.1.0-canary.4 #21

Workflow file for this run

name: Release
on:
push:
branches: [main, canary]
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Setup Environment
uses: ./.github/actions/setup-environment
- name: Release
run: pnpm semantic-release
env:
GITHUB_TOKEN: ${{ secrets.CI_GITHUB_PAT }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
sync-canary:
if: ${{ github.ref == 'refs/heads/main' }}
needs: [release]
name: Sync canary with main
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: canary
token: ${{ secrets.CI_GITHUB_PAT }}
- name: Back-merge main into canary
run: |
git merge --ff-only origin/main
git push