chore(deps-dev): bump lint-staged from 17.0.8 to 17.2.0 #216
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: Test | |
| on: | |
| push: | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| test: | |
| name: Test | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v6 | |
| - name: Setup Node.js@lts environment | |
| uses: actions/setup-node@v7 | |
| with: | |
| node-version: "lts/*" | |
| cache: "pnpm" | |
| - run: pnpm i --frozen-lockfile | |
| - run: pnpm run typecheck | |
| - run: pnpm run lint | |
| - run: pnpm run test | |
| - run: pnpm run build | |
| - run: pnpm run test:coverage | |
| # 上传代码覆盖率报告到 Codecov | |
| - name: Upload coverage reports to Codecov | |
| uses: codecov/codecov-action@v7 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} |