Skip to content

Warn on export expressions that are not React component (array, objec… #33

Warn on export expressions that are not React component (array, objec…

Warn on export expressions that are not React component (array, objec… #33

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@v3
- uses: oven-sh/setup-bun@v1
- run: bun install
- run: bun ci
- uses: ArnaudBarre/npm-publish@v1
with:
working-directory: dist
npm-token: ${{ secrets.NPM_TOKEN }}