Skip to content

chore: fix the release pipelines #2 #3

chore: fix the release pipelines #2

chore: fix the release pipelines #2 #3

Workflow file for this run

name: Release
on:
push:
branches:
- main
concurrency:
${{ github.workflow }}-${{ github.ref }}
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v2
- name: Install Bun
run: |
curl -fsSL https://bun.sh/install | bash
echo "$HOME/.bun/bin" >> $GITHUB_PATH
- name: Install Dependencies
run: bun install
- name: Build
run: bun run build
- name: Test Package
run: bun test
- name: Create Release PR or Publish Packages
id: changesets
uses: changesets/action@v1
with:
publish: bun run release
version: bun run version
commit: 'chore: update package versions'
title: 'chore: update package versions'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}