fix: type #8
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
name: CI | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
deno-version: [v1.x] | |
steps: | |
- name: Git Checkout Deno Module | |
uses: actions/checkout@v2 | |
- name: Use Deno Version ${{ matrix.deno-version }} | |
uses: denoland/setup-deno@v1 | |
with: | |
deno-version: ${{ matrix.deno-version }} | |
- name: Format | |
run: deno fmt --check | |
- name: Lint | |
run: deno lint | |
- name: Unit Test | |
run: deno test --coverage=coverage | |
- name: Create coverage report | |
run: deno coverage ./coverage --lcov > coverage.lcov | |
- name: Collect coverage | |
uses: codecov/[email protected] | |
with: | |
file: ./coverage.lcov | |
- name: Build Module | |
run: deno task build:npm |