Skip to content

Commit

Permalink
👷 Add js and react lib auto publish actions
Browse files Browse the repository at this point in the history
Closes #254
  • Loading branch information
baptisteArno committed Jan 16, 2023
1 parent 7311988 commit d9bbcf5
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/auto-create-tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,15 @@ jobs:
with:
package_root: '/packages/typebot-js'
tag_prefix: 'js-lib-v'

- name: 'Create typebot-js tag'
uses: Klemensas/action-autotag@stable
with:
package_root: '/packages/js'
tag_prefix: 'js-v'

- name: 'Create typebot-js tag'
uses: Klemensas/action-autotag@stable
with:
package_root: '/packages/react'
tag_prefix: 'react-v'
22 changes: 22 additions & 0 deletions .github/workflows/publish-typebot-js.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Publish @typebot.io/js package to NPM

on:
push:
tags:
- 'js-v*'

jobs:
publish:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./packages/js
steps:
- uses: actions/checkout@v2
- uses: pnpm/action-setup@v2.2.2
- run: pnpm i --frozen-lockfile
- run: pnpm build
- uses: JS-DevTools/npm-publish@v1
with:
package: './packages/js/package.json'
token: ${{ secrets.NPM_TOKEN }}
22 changes: 22 additions & 0 deletions .github/workflows/publish-typebot-react.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Publish @typebot.io/react package to NPM

on:
push:
tags:
- 'react-v*'

jobs:
publish:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./packages/js
steps:
- uses: actions/checkout@v2
- uses: pnpm/action-setup@v2.2.2
- run: pnpm i --frozen-lockfile
- run: pnpm build
- uses: JS-DevTools/npm-publish@v1
with:
package: './packages/js/package.json'
token: ${{ secrets.NPM_TOKEN }}

4 comments on commit d9bbcf5

@vercel
Copy link

@vercel vercel bot commented on d9bbcf5 Jan 16, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

builder-v2 – ./apps/builder

builder-v2-typebot-io.vercel.app
builder-v2-git-main-typebot-io.vercel.app
app.typebot.io

@vercel
Copy link

@vercel vercel bot commented on d9bbcf5 Jan 16, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on d9bbcf5 Jan 16, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

docs – ./apps/docs

docs.typebot.io
docs-git-main-typebot-io.vercel.app
docs-typebot-io.vercel.app

@vercel
Copy link

@vercel vercel bot commented on d9bbcf5 Jan 16, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

viewer-v2 – ./apps/viewer

ns8.vn
1stop.au
yobot.me
247987.com
8jours.top
aginap.com
bee.cr8.ai
bot.aws.bj
bot.bbc.bj
cat.cr8.ai
finplex.be
nepkit.com
pig.cr8.ai
sat.cr8.ai
bot.aipr.kr
bot.joof.it
bull.cr8.ai
docs.cr8.ai
minipost.uk
mole.cr8.ai
team.cr8.ai
wolf.cr8.ai
cinecorn.com
kusamint.com
rhino.cr8.ai
sheep.cr8.ai
snake.cr8.ai
svhm.mprs.in
tiger.cr8.ai
video.cr8.ai
yoda.riku.ai
zebra.cr8.ai
bergamo.store
bot.krdfy.com
bot.tvbeat.it
cgcassets.com
filmylogy.com
goldorayo.com
rabbit.cr8.ai
signup.cr8.ai
turkey.cr8.ai
vhpage.cr8.ai
am.nigerias.io
an.nigerias.io
app.yvon.earth
ar.nigerias.io
bot.enreso.org
bot.rslabs.pro
bots.bridge.ai
chat.hayuri.id
chicken.cr8.ai
gollum.riku.ai
gsbulletin.com
panther.cr7.ai
panther.cr8.ai
penguin.cr8.ai
talk.gocare.io
ticketfute.com
unicorn.cr8.ai
apo.nigerias.io
apr.nigerias.io
aso.nigerias.io
bot.ageenda.com
bot.artiweb.app
bot.devitus.com
bot.jesopizz.it
bot.reeplai.com
bot.tc-mail.com
chat.lalmon.com
chat.sureb4.com
eventhub.com.au
fitness.riku.ai
games.klujo.com
sakuranembro.it
typebot.aloe.do
bot.contakit.com
bot.piccinato.co
bot.sv-energy.it
botc.ceox.com.br
clo.closeer.work
cockroach.cr8.ai
faqs.nigerias.io
feedback.ofx.one
form.syncwin.com
kw.wpwakanda.com
myrentalhost.com
stan.vselise.com
start.taxtree.io
typebot.aloe.bot
voicehelp.cr8.ai
zap.fundviser.in
app.chatforms.net
bot.hostnation.de
bot.maitempah.com
bot.phuonghub.com
bot.reviewzer.com
bot.rihabilita.it
cares.urlabout.me
fmm.wpwakanda.com
gentleman-shop.fr

Please sign in to comment.