add --clean
flag for deno test
#46
This file contains 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
# This workflow will run tests using bun and then upload the coverage reports to Codecov. | |
name: Run Tests | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install pnpm | |
uses: actions/setup-node@v4 | |
with: | |
node-version: latest | |
- run: npm install pnpm -g | |
- name: Run test cases | |
uses: denoland/setup-deno@v1 | |
- run: pnpm test | |
- name: Upload coverage reports to Codecov | |
uses: codecov/codecov-action@v4 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} |