Skip to content

Supports React.forwardRef and React.memo [publish] (#46) #41

Supports React.forwardRef and React.memo [publish] (#46)

Supports React.forwardRef and React.memo [publish] (#46) #41

Workflow file for this run

name: Publish to npm
on:
push:
branches:
- main
jobs:
publish:
runs-on: ubuntu-latest
if: ${{ contains(github.event.head_commit.message, '[publish]') }}
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
- run: bun install
- run: bun ci
- uses: ArnaudBarre/npm-publish@v1
with:
working-directory: dist
npm-token: ${{ secrets.NPM_TOKEN }}