fix(SubAgentPage): 当中间的介绍文本非常长时,Flex 布局会自动挤压右侧的控制按钮区域 #3921
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: AstrBot Dashboard CI | |
| on: | |
| push: | |
| branches: [ "master" ] | |
| pull_request: | |
| branches: [ "master" ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: '24.13.0' | |
| - name: npm install, build | |
| run: | | |
| cd dashboard | |
| npm install pnpm -g | |
| pnpm install | |
| pnpm i --save-dev @types/markdown-it | |
| pnpm run build | |
| - name: Inject Commit SHA | |
| id: get_sha | |
| run: | | |
| echo "COMMIT_SHA=$(git rev-parse HEAD)" >> $GITHUB_ENV | |
| mkdir -p dashboard/dist/assets | |
| echo $COMMIT_SHA > dashboard/dist/assets/version | |
| cd dashboard | |
| zip -r dist.zip dist | |
| - name: Archive production artifacts | |
| uses: actions/upload-artifact@v6 | |
| with: | |
| name: dist-without-markdown | |
| path: | | |
| dashboard/dist | |
| !dist/**/*.md | |
| - name: Create GitHub Release | |
| if: github.event_name == 'push' | |
| uses: ncipollo/release-action@v1 | |
| with: | |
| tag: release-${{ github.sha }} | |
| owner: AstrBotDevs | |
| repo: astrbot-release-harbour | |
| body: "Automated release from commit ${{ github.sha }}" | |
| token: ${{ secrets.ASTRBOT_HARBOUR_TOKEN }} | |
| artifacts: "dashboard/dist.zip" |