💪 Use interface
instead for better docs
#6
Workflow file for this run
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: test | |
on: | |
schedule: | |
- cron: "0 7 * * 0" | |
push: | |
paths: | |
- "**.md" | |
- "**.ts" | |
- ".github/workflows/test.yml" | |
- "deno.jsonc" | |
pull_request: | |
paths: | |
- "**.md" | |
- "**.ts" | |
- ".github/workflows/test.yml" | |
- "deno.jsonc" | |
jobs: | |
check: | |
strategy: | |
matrix: | |
runner: | |
- ubuntu-latest | |
version: | |
- "1.x" | |
runs-on: ${{ matrix.runner }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: denoland/setup-deno@v1 | |
with: | |
deno-version: "${{ matrix.version }}" | |
- name: Lint check | |
run: deno lint | |
- name: Format check | |
run: deno fmt --check | |
- name: Type check | |
run: deno task check |