Skip to content

🔧 Add version filed in package json files #242

🔧 Add version filed in package json files

🔧 Add version filed in package json files #242

name: Publish @typebot.io/react package to NPM
on:
push:
tags:
- "react-v*"
jobs:
publish:
runs-on: ubuntu-latest
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
steps:
- uses: actions/checkout@v2
- uses: oven-sh/setup-bun@v2
- run: bun install
- run: bunx turbo build [email protected]/react...
- run: bun run npm config set //registry.npmjs.org/:_authToken $NPM_TOKEN
- run: cd packages/embeds/react && bun publish --access public