fix(version): 改进版本号解析的输入验证和错误处理 #333
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: code review | |
| on: | |
| push: | |
| branches: | |
| - v*.x | |
| pull_request: | |
| jobs: | |
| code-review: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: ./.github/actions/setup-node | |
| - name: build | |
| run: npm run build | |
| - name: lint | |
| run: npm run lint | |
| - name: test | |
| run: npm run test:coverage | |
| - uses: codacy/codacy-coverage-reporter-action@v1 | |
| if: github.actor != 'dependabot[bot]' | |
| with: | |
| api-token: ${{ secrets.CODACY_API_TOKEN }} | |
| coverage-reports: packages/*/coverage/lcov.info |