Skip to content

test ci

test ci #145

Workflow file for this run

name: Test
on: [push, pull_request, workflow_dispatch]
jobs:
Lint:
runs-on: ubuntu-latest
steps:
- name: Git Checkout Module
uses: actions/checkout@v2
- name: Use Deno
uses: denoland/setup-deno@v2
with:
deno-version: v2.x
- name: 😉 Format
run: deno fmt --check
- name: 😋 Lint
run: deno lint
Type-Check:
runs-on: ubuntu-latest
steps:
- name: Git Checkout Module
uses: actions/checkout@v2
- name: Use Deno
uses: denoland/setup-deno@v2
with:
deno-version: v2.x
- name: 🧐 Type Check
run: deno task check
Test:
runs-on: ubuntu-latest
steps:
- name: Git Checkout Module
uses: actions/checkout@v2
- name: Use Deno
uses: denoland/setup-deno@v2
with:
deno-version: v2.x
- name: 😎 Test
run: deno task test --coverage=coverage
- name: Create coverage report
run: deno coverage ./coverage --lcov > coverage.lcov
- name: Codecov
uses: codecov/codecov-action@v5
with:
files: ./coverage.lcov
fail_ci_if_error: true