docs: add tech dosc (#905) #264
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: | |
| push: | |
| branches: [master, main, v4] | |
| pull_request: | |
| branches: [master, main, v4] | |
| jobs: | |
| ci: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: β€΅οΈ Checkout | |
| uses: actions/checkout@v5 | |
| - name: π Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 20 | |
| - name: π¦ Install dependencies | |
| run: npm install | |
| - name: π Build | |
| run: npm run build | |
| - name: β Test | |
| run: npm run test | |
| # Evaluate llm θ΅ζΊζΆθζ―θΎε€§οΌζε¨θ§¦ε | |
| # - name: π§π»βπ» Evaluate | |
| # env: | |
| # TBOX_LLM_APP_ID: ${{ secrets.TBOX_LLM_APP_ID }} | |
| # TBOX_LLM_AUTH: ${{ secrets.TBOX_LLM_AUTH }} | |
| # run: npm run evaluate | |
| - name: π‘ Upload coverage to Codecov | |
| uses: codecov/codecov-action@v5 | |
| with: | |
| files: ./coverage/coverage-final.json | |
| flags: ava | |
| env: | |
| CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |