fix(frontend): 将 API 和 Store 的错误信息映射为 i18n 国际化文案(展示于输出面板) #23
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: CI | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| verify: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: "1.25.x" | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: "20" | |
| cache: npm | |
| cache-dependency-path: frontend/package-lock.json | |
| - name: Setup Task | |
| uses: arduino/setup-task@v2 | |
| - name: Install frontend dependencies | |
| run: task frontend:install | |
| - name: Run formatting checks | |
| run: task fmt:check | |
| - name: Run lint checks | |
| run: task lint | |
| - name: Run Go tests | |
| run: task test | |
| - name: Run Go vet | |
| run: task vet | |
| - name: Build backend and frontend | |
| run: task build |