Skip to content

Manual Release

Manual Release #6

name: Manual Release
on: workflow_dispatch
jobs:
release:
runs-on: ubuntu-latest
steps:
- id: checkout
name: Checkout
uses: actions/checkout@v3
- id: setup-bun
name: Setup Bun
uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- id: setup-pnpm
name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: latest
standalone: true
run_install: false
- id: install-deps
name: Install dependencies
run: pnpm install
- id: test
name: Run test
run: |
pnpm run test
- name: Build Package
run: pnpm run build
- name: Publish to NPM
uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}