Skip to content

Revert "chore(root): Attempt at specific permissions for canary bump … #233

Revert "chore(root): Attempt at specific permissions for canary bump …

Revert "chore(root): Attempt at specific permissions for canary bump … #233

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@v4
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@v4
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 }}