check-gospel-map-paints reads the tree's name from the build config too
Some checks are pending
Deploy to GitHub Pages / build (push) Waiting to run
Deploy to GitHub Pages / deploy (push) Blocked by required conditions

It landed on main after the tree-name codemod ran and carried one 'doxa-maps' literal.
This commit is contained in:
doxa-maps-88655c70 2026-09-25 16:26:03 +00:00
parent 456b920fb6
commit 3c3e357068

View file

@ -24,6 +24,7 @@ import { chromium } from 'playwright'
import { serveReaped } from './_serve-reaped.mjs'
import { resolve, dirname } from 'node:path'
import { fileURLToPath } from 'node:url'
import { TREE_NAME } from './_tree-name.mjs'
const HERE = dirname(fileURLToPath(import.meta.url))
const REPO = resolve(HERE, '..')
@ -54,7 +55,7 @@ let browser
try {
browser = await chromium.launch()
const page = await browser.newPage({ viewport: { width: 1440, height: 900 } })
await page.goto(BASE + '/doxa-maps/gospel-resources/resources-map/index.html',
await page.goto(BASE + `/${TREE_NAME}/gospel-resources/resources-map/index.html`,
{ waitUntil: 'networkidle', timeout: 90000 })
await page.waitForFunction(() => window.__grState && window.__grState().pins > 0, null, { timeout: 60000 })
await page.waitForTimeout(9000)