diff --git a/README.md b/README.md index 7e24acd..569d55c 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ Lossless conversion between **Atlassian Document Format** (ADF), an extended markdown flavour, and an HTML dialect. -**Status: specification only, no code yet.** Plan: `todo.md`. Decisions: `AGENTS.md`. +**Status: scaffold only, no conversion code yet.** Plan: `todo.md`. Decisions: `AGENTS.md`. ## What it is for diff --git a/ci.sh b/ci.sh index 33e0a62..3d17b21 100755 --- a/ci.sh +++ b/ci.sh @@ -7,4 +7,10 @@ in_node() { docker run --rm -u "$(id -u):$(id -g)" -e HOME=/tmp -v "$PWD:/app" - in_node npm ci in_node npm run typecheck -in_node npm test + +test_output=$(in_node npm test) +printf '%s\n' "$test_output" +if printf '%s' "$test_output" | grep -q 'ℹ tests 0'; then + echo 'the gate ran zero tests — failing instead of a vacuous green' + exit 1 +fi diff --git a/renovate.json b/renovate.json index e20f1d5..1c7b4c6 100644 --- a/renovate.json +++ b/renovate.json @@ -1,23 +1,25 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "extends": ["config:recommended"], "automerge": true, "customManagers": [ { "customType": "regex", + "datasourceTemplate": "docker", + "depNameTemplate": "node", "description": "Pin the node image ci.sh runs", "managerFilePatterns": ["ci.sh"], "matchStrings": ["node:(?[0-9][^\\s\"']*)"], - "depNameTemplate": "node", - "datasourceTemplate": "docker" + "versioningTemplate": "docker" }, { "customType": "regex", + "datasourceTemplate": "docker", + "depNameTemplate": "renovate/renovate", "description": "Pin the Renovate image the Renovate workflow runs", "managerFilePatterns": [".gitea/workflows/renovate.yml"], "matchStrings": ["renovate/renovate:(?[0-9][^\\s\"']*)"], - "depNameTemplate": "renovate/renovate", - "datasourceTemplate": "docker" + "versioningTemplate": "docker" } - ] + ], + "extends": ["config:recommended"] }