✨ Add Next.js embed library
This commit is contained in:
18
.github/workflows/publish-typebot-nextjs.yml
vendored
Normal file
18
.github/workflows/publish-typebot-nextjs.yml
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
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: pnpm/action-setup@v2.2.2
|
||||
- run: pnpm i --frozen-lockfile
|
||||
- run: pnpm turbo build --filter=@typebot.io/nextjs...
|
||||
- run: cd packages/embeds/nextjs && pnpm publish --no-git-checks --access public
|
Reference in New Issue
Block a user