Skip to content

Merge pull request #87 from tien/refactor/frontend-template #146

Merge pull request #87 from tien/refactor/frontend-template

Merge pull request #87 from tien/refactor/frontend-template #146

Workflow file for this run

# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Release
on:
push:
branches:
- main
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
fetch-depth: 0
submodules: true
- uses: actions/setup-node@v4
name: Setup node
with:
node-version-file: package.json
- uses: oven-sh/setup-bun@v2
name: Setup bun
with:
bun-version-file: package.json
- name: Install dependencies
run: |
bun install
- name: Create Release Pull Request
uses: changesets/action@v1
with:
title: 'chore(changeset): Bump package version'
commit: 'chore(changeset): Bump package version'
version: bunx changeset version
publish: bunx changeset publish
env:
GITHUB_TOKEN: ${{ secrets.CHANGESETS_PAT }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}