2
0

🐛 Fix bot not proceeding when embedded

This commit is contained in:
Baptiste Arnaud
2023-02-22 07:46:30 +01:00
parent 4efe2c48bb
commit bdf088bd95
11 changed files with 24 additions and 19 deletions

View File

@ -8,16 +8,16 @@ on:
jobs:
publish:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./packages/typebot-js
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 test
- run: pnpm build
- run: pnpm config set //registry.npmjs.org/:_authToken ${NPM_TOKEN}
- run: pnpm publish --no-git-checks --access public
- run: pnpm turbo build --filter=typebot-js...
- name: Set NPM_TOKEN in config
run: pnpm config set //registry.npmjs.org/:_authToken ${NPM_TOKEN}
working-directory: ./packages/typebot-js
- name: Publish
run: pnpm publish --no-git-checks --access public
working-directory: ./packages/typebot-js

View File

@ -3,6 +3,7 @@ name: Build Docker images
on:
create:
tags: ['v*']
tags-ignore: ['js-v*', 'react-v*', 'js-lib-v*']
push:
branches: [main]
pull_request: