Skip to content

Prepare Publish

Prepare Publish #84

name: Prepare Publish
on:
workflow_dispatch:
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
publish:
name: Prepare Publish
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v4
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version-file: 'package.json'
cache: 'pnpm'
- name: Setup dependencies
run: pnpm install
- name: Create Release Pull Request
id: changesets
uses: changesets/action@v1
with:
version: pnpm run changeset:consume
commit: 'meta(changelog): Update package versions'
title: 'meta(changelog): Update package versions'
env:
GITHUB_TOKEN: ${{ secrets.GH_RELEASE_PAT }}