Automate and validate the release flow (#998)

* improve release flow

* limit permission

* Test and harden the release workflow

* Keep workspace lockfile versions aligned

* Run release regression tests in CI
This commit is contained in:
vorotamoroz
2026-07-14 03:01:22 +09:00
committed by GitHub
parent a41c829c10
commit 0f75cd92c0
9 changed files with 627 additions and 7 deletions
+4 -4
View File
@@ -10,8 +10,8 @@ writeFileSync("manifest.json", JSON.stringify(manifest, null, 4));
// update versions.json with target version and minAppVersion from manifest.json
// but only if the target version is not already in versions.json
const versions = JSON.parse(readFileSync('versions.json', 'utf8'));
if (!Object.values(versions).includes(minAppVersion)) {
const versions = JSON.parse(readFileSync("versions.json", "utf8"));
if (!(targetVersion in versions)) {
versions[targetVersion] = minAppVersion;
writeFileSync('versions.json', JSON.stringify(versions, null, 4));
}
writeFileSync("versions.json", JSON.stringify(versions, null, 4));
}