From c558fec11259b5370b7d5fed812826b4989596d2 Mon Sep 17 00:00:00 2001 From: Julien Oculi Date: Tue, 4 Jun 2024 15:17:29 +0200 Subject: [PATCH] ci: add `check` command to run before commit --- deno.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deno.json b/deno.json index a85d896..0c053a9 100644 --- a/deno.json +++ b/deno.json @@ -3,7 +3,8 @@ "serve": "deno run --allow-net=\"https://git.cohabit.fr,localhost:$PORT,127.0.0.1:$PORT,0.0.0.0:$PORT\" --allow-env=PORT,COHABIT_GIT_URL,PORTFOLIO_BASE_URL ./server.ts", "test": "deno test --ignore=server.ts --allow-env=PORT,COHABIT_GIT_URL,PORTFOLIO_BASE_URL --doc", "lint": "deno lint --ignore=docs", - "doc": "deno doc --html --name='Portfolio Sever' ./src/*.ts" + "doc": "deno doc --html --name='Portfolio Sever' ./src/*.ts", + "check": "deno task lint && deno task test && deno task doc" }, "fmt": { "singleQuote": true,