Skip to content

Commit

Permalink
Add testing CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Dianliang233 committed Jul 17, 2024
1 parent 8c0f820 commit f3d2a4c
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,30 @@ jobs:

- name: Type Check
run: pnpm run type-check

test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- uses: pnpm/action-setup@v3
with:
version: 9

- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '20'
cache: 'pnpm'

- name: Install dependencies
run: pnpm install

- name: Run tests
run: pnpm run coverage

- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit f3d2a4c

Please sign in to comment.