给 AVA.analysis() 方法加入分步进度报告能力,并在 site 侧新增 AnalysisSteps UI 组件实现可视…
#446
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: build | |
| on: | |
| pull_request: | |
| branches: | |
| - '**' | |
| push: | |
| branches: | |
| - ai | |
| - main | |
| jobs: | |
| test-and-build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: [20.x, 22.x] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: Install dependencies | |
| run: npm install --legacy-peer-deps | |
| - name: Run tests | |
| run: npm test | |
| env: | |
| LING_1T_API_KEY: ${{ secrets.LING_1T_API_KEY }} | |
| - name: Build | |
| run: npm run build |