chore: version packages #78
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
push: | |
branches: | |
- main | |
concurrency: ${{ github.workflow }}-${{ github.ref }} | |
jobs: | |
release: | |
name: Release | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v4 | |
with: | |
token: ${{ secrets.PERSONAL_TOKEN }} | |
- name: Setup Node.js 18 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
- name: Setup pnpm | |
uses: pnpm/[email protected] | |
with: | |
version: 9.4.0 | |
- name: Install Workspace Root Dependencies | |
run: | | |
pnpm install --workspace-root --frozen-lockfile | |
- name: Create PR or Publish Release | |
uses: changesets/action@v1 | |
with: | |
version: pnpm version-bump | |
publish: pnpm release | |
title: "bot: version packages" | |
commit: "chore: version packages" | |
createGithubReleases: true | |
env: | |
GITHUB_TOKEN: ${{ secrets.PERSONAL_TOKEN }} |