Add basic support for custom HOCs (#60) #53
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |