Skip to content

Visualize code coverage #16

Visualize code coverage

Visualize code coverage #16

Workflow file for this run

name: πŸ§ͺ Test
on:
push:
branches:
- main
- dev
paths:
- "**.ts"
- "deno.lock"
- ".github/workflows/test.yml"
pull_request:
paths:
- "**.ts"
- "deno.lock"
- ".github/workflows/test.yml"
jobs:
Test:
runs-on: Ubuntu-Latest
steps:
- name: 🚚 Checkout Repository
uses: actions/checkout@v4
- name: πŸ¦• Setup Deno
uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- name: πŸ§ͺ Run Tests
run: deno task cov
- name: 🧹 Lint Check
run: deno lint
- name: πŸ“ Format Check
run: deno fmt --check
- name: πŸ” Type Check
run: deno check ./**/*.ts
- name: 🦩 Upload Coverage
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}