docs: fix module name (#50) #265
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: Tests | |
on: | |
push: | |
pull_request: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: denoland/setup-deno@v1 | |
with: | |
deno-version: v1.x | |
- name: Run linter | |
run: deno lint | |
- name: Run formatter | |
run: deno fmt --check | |
- name: Run tests | |
run: deno test -A --coverage=coverage | |
- name: Create coverage report | |
run: deno coverage ./coverage --lcov --output=coverage.lcov | |
- uses: codecov/codecov-action@v4 | |
with: | |
file: ./coverage.lcov | |
- name: Publish (dry run) | |
run: deno publish --dry-run |