Skip to content

Commit

Permalink
chore: separate deno tasks from globing for ci
Browse files Browse the repository at this point in the history
  • Loading branch information
sehnryr committed Nov 11, 2024
1 parent 1c772c0 commit 41076e6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deno.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
deno-version: v2.x

- name: Run checks
run: deno task check
run: deno task check:deno

lint:
runs-on: ubuntu-latest
Expand All @@ -40,7 +40,7 @@ jobs:
deno-version: v2.x

- name: Run linter
run: deno task lint
run: deno task lint:deno

build:
runs-on: ubuntu-latest
Expand All @@ -55,4 +55,4 @@ jobs:
deno-version: v2.x

- name: Build
run: deno task build
run: deno task build:deno
12 changes: 9 additions & 3 deletions deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,17 @@
"tasks": {
"dev": "deno run -A npm:vite dev",
"build": "deno run -A npm:vite build",
"check": "deno check src/ && deno task check:tauri",

"check": "deno task check:deno && deno task check:tauri",
"check:deno": "deno check src/",
"check:tauri": "cd src-tauri/ && cargo check && cd ..",
"lint": "deno lint && deno fmt --check && deno task lint:tauri",

"lint": "deno task lint:deno && deno task lint:tauri",
"lint:deno": "deno lint && deno fmt --check",
"lint:tauri": "cd src-tauri/ && cargo fmt --check && cd ..",
"fmt": "deno lint --fix && deno fmt && deno task fmt:tauri",

"fmt": "deno task fmt:deno && deno task fmt:tauri",
"fmt:deno": "deno lint --fix && deno fmt",
"fmt:tauri": "cd src-tauri/ && cargo fmt && cd .."
},
"compilerOptions": {
Expand Down

0 comments on commit 41076e6

Please sign in to comment.