fix(treewide): enforce catppuccin/userstyles
code standards
#47
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"] | |
env: | |
DENO_DIR: deno_cache | |
jobs: | |
deno-check: | |
name: Check Deno code | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Deno | |
uses: denoland/setup-deno@v1 | |
with: | |
deno-version: v1.x | |
- name: Cache Deno dependencies | |
uses: actions/cache@v3 | |
with: | |
key: ${{ hashFiles('src/deno.lock') }} | |
path: ${{ env.DENO_DIR }} | |
- name: Check | |
working-directory: src | |
run: | | |
deno lint | |
deno check **/*.ts | |
deno fmt --check **/*.ts |