👷 Build js embed lib with tsup #155
Workflow file for this run
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 @typebot.io/nextjs package to NPM | |
on: | |
push: | |
tags: | |
- "nextjs-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]/nextjs... | |
- run: cd packages/embeds/nextjs && bun publish --access public |