Compare commits

..

1 Commits

Author SHA1 Message Date
t.behrendt c3e8d77f0e refactor: to node action
CI / Test (pull_request) Failing after 11s
CI / Dry-Run (pull_request) Failing after 22s
CI / Check Dist (pull_request) Successful in 10s
2026-06-27 13:40:15 +02:00
2 changed files with 7 additions and 3 deletions
+4
View File
@@ -13,6 +13,10 @@ jobs:
uses: ./
with:
json-file: renovate.json
- name: Validate oxfmt config
uses: ./
with:
json-file: .oxfmtrc.json
test:
name: Test
+3 -3
View File
@@ -58,10 +58,10 @@ describe("validateJson()", () => {
{
ok: true,
text: async () =>
({
JSON.stringify({
despiteThisBeingValidJson:
"toString() breaks it, making it invalid",
}).toString(),
}),
},
);
@@ -69,7 +69,7 @@ describe("validateJson()", () => {
$schema: "https://json-schema.org/draft-07/schema",
});
await expect(validateJson(jsonFile)).rejects.toThrow(
'"[object Object]" is not valid JSON',
'strict mode: unknown keyword: "despiteThisBeingValidJson"',
);
});