Scaffold: package contract, docker CI gate, Renovate #2
@@ -3,7 +3,7 @@
|
|||||||
Lossless conversion between **Atlassian Document Format** (ADF), an extended markdown flavour, and
|
Lossless conversion between **Atlassian Document Format** (ADF), an extended markdown flavour, and
|
||||||
an HTML dialect.
|
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
|
## What it is for
|
||||||
|
|
||||||
|
|||||||
@@ -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 ci
|
||||||
in_node npm run typecheck
|
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
|
||||||
|
|||||||
+8
-6
@@ -1,23 +1,25 @@
|
|||||||
{
|
{
|
||||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
"extends": ["config:recommended"],
|
|
||||||
"automerge": true,
|
"automerge": true,
|
||||||
"customManagers": [
|
"customManagers": [
|
||||||
{
|
{
|
||||||
"customType": "regex",
|
"customType": "regex",
|
||||||
|
"datasourceTemplate": "docker",
|
||||||
|
"depNameTemplate": "node",
|
||||||
"description": "Pin the node image ci.sh runs",
|
"description": "Pin the node image ci.sh runs",
|
||||||
"managerFilePatterns": ["ci.sh"],
|
"managerFilePatterns": ["ci.sh"],
|
||||||
"matchStrings": ["node:(?<currentValue>[0-9][^\\s\"']*)"],
|
"matchStrings": ["node:(?<currentValue>[0-9][^\\s\"']*)"],
|
||||||
"depNameTemplate": "node",
|
"versioningTemplate": "docker"
|
||||||
"datasourceTemplate": "docker"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"customType": "regex",
|
"customType": "regex",
|
||||||
|
"datasourceTemplate": "docker",
|
||||||
|
"depNameTemplate": "renovate/renovate",
|
||||||
"description": "Pin the Renovate image the Renovate workflow runs",
|
"description": "Pin the Renovate image the Renovate workflow runs",
|
||||||
"managerFilePatterns": [".gitea/workflows/renovate.yml"],
|
"managerFilePatterns": [".gitea/workflows/renovate.yml"],
|
||||||
"matchStrings": ["renovate/renovate:(?<currentValue>[0-9][^\\s\"']*)"],
|
"matchStrings": ["renovate/renovate:(?<currentValue>[0-9][^\\s\"']*)"],
|
||||||
"depNameTemplate": "renovate/renovate",
|
"versioningTemplate": "docker"
|
||||||
"datasourceTemplate": "docker"
|
|
||||||
}
|
}
|
||||||
]
|
],
|
||||||
|
"extends": ["config:recommended"]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user