fix(init): define working directory in check task for init script (#2852)

~~This fixes CI for current PRs until
https://github.com/denoland/deno/pull/28655 is added to Deno 2.3.0.~~

This fixes CI until https://github.com/denoland/deno/issues/28923 is
fixed. Then, we can use `Deno.makeTempDir()` and not have to use
`tmp_*/`.
This commit is contained in:
Asher Gomez
2025-04-22 13:17:05 +02:00
committed by GitHub
parent d87e47d15f
commit 149509995e
4 changed files with 268 additions and 58 deletions
+2 -1
View File
@@ -554,7 +554,8 @@ if (Deno.args.includes("build")) {
const denoJson = {
tasks: {
check:
"deno fmt --check && deno lint && deno check **/*.ts && deno check **/*.tsx",
// Revert once https://github.com/denoland/deno/issues/28923 is fixed
"deno fmt --check . && deno lint . && deno check **/*.ts && deno check **/*.tsx",
dev: "deno run -A --watch=static/,routes/ dev.ts",
build: "deno run -A dev.ts build",
start: "deno run -A main.ts",