ci: add check
command to run before commit
This commit is contained in:
parent
c7e02b5e62
commit
c558fec112
|
@ -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",
|
"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",
|
"test": "deno test --ignore=server.ts --allow-env=PORT,COHABIT_GIT_URL,PORTFOLIO_BASE_URL --doc",
|
||||||
"lint": "deno lint --ignore=docs",
|
"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": {
|
"fmt": {
|
||||||
"singleQuote": true,
|
"singleQuote": true,
|
||||||
|
|
Loading…
Reference in a new issue