Skip to content

Merge pull request #4 from triyanox/fix/update-readme #11

Merge pull request #4 from triyanox/fix/update-readme

Merge pull request #4 from triyanox/fix/update-readme #11

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