Skip to content

Commit

Permalink
chore: utilize task dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
mmyoji committed Nov 26, 2024
1 parent a0c5f19 commit 9d25483
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,5 @@ jobs:
- uses: denoland/setup-deno@v1
with:
deno-version: v2.x
- run: deno fmt --check
- run: deno lint
- run: deno check main.ts
- run: deno run check
- run: deno run test
7 changes: 6 additions & 1 deletion deno.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
{
"lock": false,
"tasks": {
"check": "deno fmt --check && deno lint && deno check **/*.ts && deno check **/*.tsx",
"check:fmt": "deno fmt --check",
"check:lint": "deno lint",
"check": {
"command": "deno check main.ts",
"dependencies": ["check:fmt", "check:lint"]
},
"start": "deno run -A --watch=static/,routes/ dev.ts",
"build": "deno run -A dev.ts build",
"preview": "deno run -A main.ts",
Expand Down

0 comments on commit 9d25483

Please sign in to comment.