ci: add lint workflow (#61) #3
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: Lint & Test | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
jobs: | |
main: | |
name: Lint and test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: nekowinston/setup-deno@v1 | |
- name: Check | |
run: deno check **/*.ts | |
- name: Lint | |
run: deno lint --compact | |
- name: Test | |
run: deno test --doc |