Skip to content

chore: Bump for release (canary) (#1788) #199

chore: Bump for release (canary) (#1788)

chore: Bump for release (canary) (#1788) #199

Workflow file for this run

name: Bump canary
on:
push:
branches:
- canary
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
release:
name: Bump for canary
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Setup Node.js 20
uses: actions/setup-node@v3
with:
node-version: 20
- name: Enable Corepack
id: pnpm-setup
run: |
corepack enable
corepack prepare pnpm@latest --activate
pnpm config set script-shell "/usr/bin/bash"
echo "::set-output name=pnpm_cache_dir::$(pnpm store path)"
- name: pnpm Cache
uses: buildjet/cache@v3
with:
path: ${{ steps.pnpm-setup.outputs.pnpm_cache_dir }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install packages
run: pnpm install --frozen-lockfile
- name: Enter prerelease mode
continue-on-error: true
run: pnpm canary:enter
- name: Create Release Pull Request
uses: changesets/action@v1
with:
version: pnpm run version
title: "chore: Bump for release"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}