Skip to content

feat: hmr for bot dev #104

feat: hmr for bot dev

feat: hmr for bot dev #104

Workflow file for this run

name: api
on:
push:
branches:
- dev
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: '14'
# fix pnpm install
- name: pnpm - output bin stubs
run: npx esno scripts/fix-pnpm.ts
- run: npm i -g pnpm && pnpm i
- run: pnpm run build:api
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./packages/el-bot/docs
force_orphan: true