feat: update nixpkgs to 26.05
runner nix smoke / nix label and flake smoke (push) Canceled after 0s

This commit is contained in:
2026-10-06 23:45:22 +00:00
parent fbb43b1db9
commit f8af0b81a9
13 changed files with 61 additions and 131 deletions
@@ -40,7 +40,12 @@ async function findChromiumExecutable() {
const chromiumDir = entries.find((entry) => /^chromium-\d+$/.test(entry));
if (!chromiumDir) return undefined;
return path.join(process.env.PLAYWRIGHT_BROWSERS_PATH, chromiumDir, "chrome-linux", "chrome");
for (const directory of ["chrome-linux64", "chrome-linux"]) {
const executablePath = path.join(process.env.PLAYWRIGHT_BROWSERS_PATH, chromiumDir, directory, "chrome");
if (await fs.access(executablePath).then(() => true, () => false)) return executablePath;
}
return undefined;
}
async function snapshot(page) {