[agent-flow] 1.修改开始节点对话轮次上限为20 2.升级版本至1.0.0-alpha.7 #1
Workflow file for this run
This file contains hidden or 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: Elsa Compile | |
| on: | |
| push: | |
| branches: | |
| - 'main' | |
| - 'elsa-[0-9]+\.[0-9]+\.x' # 转义小数点,匹配如 elsa-0.1.x | |
| paths: | |
| - 'elsa/**' | |
| - 'agent-flow/**' | |
| pull_request: | |
| branches: | |
| - 'main' | |
| - 'elsa-[0-9]+\.[0-9]+\.x' # 转义小数点,匹配如 elsa-0.1.x | |
| paths: | |
| - 'elsa/**' | |
| - 'agent-flow/**' | |
| jobs: | |
| build: | |
| permissions: | |
| contents: read | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Use Node.js 20.16 | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20.16' | |
| - name: Build elsa | |
| working-directory: ./elsa/elsa | |
| run: | | |
| npm install | |
| npm run build | |
| - name: Build agent-flow | |
| working-directory: ./elsa/agent-flow | |
| run: | | |
| npm install | |
| npm run build |