feat: improve scripts/lint logging #316
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: Deno Check | |
on: | |
push: | |
branches: [main] | |
paths: ["**/*.ts"] | |
pull_request: | |
branches: [main] | |
paths: ["**/*.ts"] | |
jobs: | |
deno-check: | |
name: Check Deno code | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Deno | |
uses: nekowinston/setup-deno@main | |
with: | |
deno-version: v1.x | |
- name: Check | |
run: | | |
deno lint | |
deno check **/*.ts | |
deno fmt --check **/*.ts |