Skip to content

feat: day 21

feat: day 21 #60

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- main
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v2
with:
deno-version: v2.x
- run: deno lint
test:
name: Test
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v2
with:
deno-version: v2.x
- run: deno task test
lcov:
needs: [lint, test]
name: Code Coverage
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v2
with:
deno-version: v2.x
- run: deno task test
- run: deno task lcov
- uses: hrishikesh-kadam/setup-lcov@v1
- uses: zgosalvez/github-actions-report-lcov@v3
with:
coverage-files: cov_profile/cov.lcov
minimum-coverage: 60
github-token: ${{ secrets.GITHUB_TOKEN }}
update-comment: true