Skip to content

Merge pull request #3 from magicbell/changeset-release/main #9

Merge pull request #3 from magicbell/changeset-release/main

Merge pull request #3 from magicbell/changeset-release/main #9

Workflow file for this run

name: Changeset
on:
push:
branches:
- main
workflow_dispatch:
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.BELLA_ACTION_TOKEN }}
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
- uses: bahmutov/npm-install@v1
- name: Create release PR or publish release
uses: changesets/action@v1
with:
version: yarn changeset:version
publish: yarn changeset:release
commit: 'chore: version package'
title: 'chore: version package'
createGithubReleases: true
env:
GITHUB_TOKEN: ${{ secrets.BELLA_ACTION_TOKEN }}