mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-09-19 13:23:50 +03:00
ci/main-green: parse ci.yml with the declared js-yaml package (#13955)
validate-release-green imported the yaml package, which is not a direct dependency on main. The nightly job then crashed before the verdict fence, so the tracker comment was empty. js-yaml is already declared and load() is the same parse for this workflow YAML. Signed-off-by: Minxi Hou <houminxi@gmail.com>
This commit is contained in:
@@ -55,7 +55,7 @@ import { promisify } from "node:util";
|
||||
import { mkdirSync, readFileSync, writeFileSync } from "node:fs";
|
||||
import { dirname, join } from "node:path";
|
||||
import { fileURLToPath } from "node:url";
|
||||
import { parse as parseYaml } from "yaml";
|
||||
import { load as parseYaml } from "js-yaml";
|
||||
|
||||
const __dirname = dirname(fileURLToPath(import.meta.url));
|
||||
const ROOT = join(__dirname, "..", "..");
|
||||
|
||||
Reference in New Issue
Block a user