From 07730e576180be3f6a16b0fda6c6554a86844eee Mon Sep 17 00:00:00 2001 From: "Max P." Date: Wed, 28 May 2025 18:13:59 +0200 Subject: [PATCH] feat(tasks): add formatting, linting, and CI tasks - Introduces new tasks for code formatting and linting - Adds a CI task combining formatting, linting, and testing --- deno.jsonc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/deno.jsonc b/deno.jsonc index c3a43e3..dbea427 100644 --- a/deno.jsonc +++ b/deno.jsonc @@ -2,6 +2,9 @@ "tasks": { "start": "deno run -A src/mod.ts", "test": "deno test -A --coverage **/__tests__/*.test.ts", + "fmt": "deno fmt --check", + "lint": "deno lint", + "ci": "deno task fmt && deno task lint && deno task test", // For local CI checks "build:amd64": "deno compile --target x86_64-unknown-linux-gnu --include VERSION --include src/i18n/de.json --include src/i18n/en.json --allow-env --allow-write --output dist/systemd-timer-linux-amd64 src/mod.ts", "build:arm64": "deno compile --target aarch64-unknown-linux-gnu --include VERSION --include src/i18n/de.json --include src/i18n/en.json --allow-env --allow-write --output dist/systemd-timer-linux-arm64 src/mod.ts" },