[{"data":1,"prerenderedAt":506,"buildId":507},["ShallowReactive",2],{"-en-maintenance-verification":3,"-en-maintenance-verification-surround":449,"navigation_docs_en":455},{"id":4,"title":5,"body":6,"description":434,"extension":441,"links":442,"meta":443,"navigation":444,"path":445,"seo":446,"stem":447,"__hash__":448},"docs_en\u002Fen\u002Fmaintenance\u002F1.verification.md","Maintain Xova Actions",{"type":7,"value":8,"toc":433},"minimark",[9,14,118,137,151,155,226,240,244,261,363,387,391],[10,11,13],"h2",{"id":12},"check-a-change-locally","Check a change locally",[15,16,17,30],"table",{},[18,19,20],"thead",{},[21,22,23,27],"tr",{},[24,25,26],"th",{},"Command",[24,28,29],{},"What it checks",[31,32,33,49,67,77,87,101],"tbody",{},[21,34,35,42],{},[36,37,38],"td",{},[39,40,41],"code",{},"mise exec -- pnpm check",[36,43,44,45,48],{},"Regenerates distribution files, runs tests and runs ",[39,46,47],{},"pnpm lint",".",[21,50,51,56],{},[36,52,53],{},[39,54,55],{},"mise exec -- pnpm lint",[36,57,58,59,62,63,66],{},"Runs ",[39,60,61],{},"lint:actions"," for workflows and action metadata, then ",[39,64,65],{},"lint:repo"," for JS\u002FTS, Markdown, YAML, JSON\u002FJSONC, TOML and pnpm configuration, including tests and examples.",[21,68,69,74],{},[36,70,71],{},[39,72,73],{},"mise exec -- pnpm build:check",[36,75,76],{},"Checks the committed distribution files and licenses against the build output without writing files.",[21,78,79,84],{},[36,80,81],{},[39,82,83],{},"mise exec -- pnpm docs:build",[36,85,86],{},"Builds the Node version of both documentation locales for local preview.",[21,88,89,94],{},[36,90,91],{},[39,92,93],{},"mise exec -- pnpm docs:preview",[36,95,96,97,100],{},"Serves the built site locally, including the read-only ",[39,98,99],{},"\u002Fmcp"," endpoint.",[21,102,103,108],{},[36,104,105],{},[39,106,107],{},"mise exec -- pnpm docs:build:worker",[36,109,110,111,114,115,48],{},"Builds the production Worker and static assets in ",[39,112,113],{},"docs\u002F.output\u002F",". The public site URL is ",[39,116,117],{},"https:\u002F\u002Factions.xovajs.com",[119,120,121,122,125,126,129,130,133,134,48],"p",{},"Edit guides in both ",[39,123,124],{},"docs\u002Fcontent\u002Fzh-cn\u002F"," and ",[39,127,128],{},"docs\u002Fcontent\u002Fen\u002F",". Example commands and configs live in ",[39,131,132],{},"examples\u002F",", titles and descriptions in ",[39,135,136],{},"docs\u002Fprepare-examples.mjs",[119,138,139,140,143,144,147,148,48],{},"Run ",[39,141,142],{},"docs:build",", then ",[39,145,146],{},"docs:preview",". Check both locales and their raw Markdown, e.g. ",[39,149,150],{},"\u002Fraw\u002Fen\u002Fguides\u002Fdeployment.md",[10,152,154],{"id":153},"read-the-github-actions-results","Read the GitHub Actions results",[15,156,157,167],{},[18,158,159],{},[21,160,161,164],{},[24,162,163],{},"Job",[24,165,166],{},"What it verifies",[31,168,169,179,191,205],{},[21,170,171,176],{},[36,172,173],{},[39,174,175],{},"check",[36,177,178],{},"Checks the distribution files, installs the tools pinned by the examples, then runs tests and lint.",[21,180,181,185],{},[36,182,183],{},[39,184,39],{},[36,186,187,188,48],{},"Runs the monorepo workspace tests through the shared ",[39,189,190],{},"check.yml",[21,192,193,198],{},[36,194,195],{},[39,196,197],{},"docs",[36,199,200,201,204],{},"Builds ",[39,202,203],{},"examples\u002Fmonorepo\u002Fapps\u002Fdocs"," at the same SHA and uploads an artifact with hidden files.",[21,206,207,212],{},[36,208,209],{},[39,210,211],{},"verify",[36,213,214,215,217,218,125,220,222,223,48],{},"Downloads the ",[39,216,197],{}," artifact by ID. Checks that ",[39,219,39],{},[39,221,197],{}," returned the current commit SHA, then verifies the full-check marker, homepage HTML and contents of ",[39,224,225],{},".well-known\u002Fsecurity.txt",[119,227,228,229,232,233,48],{},"All four jobs use ",[39,230,231],{},"contents: read",". See ",[234,235,239],"a",{"href":236,"rel":237},"https:\u002F\u002Fgithub.com\u002Fxova-dev\u002Factions\u002Fblob\u002Fmain\u002F.github\u002Fworkflows\u002Finternal-ci.yml",[238],"nofollow","internal-ci.yml",[10,241,243],{"id":242},"first-deployment-of-the-actions-documentation-site","First deployment of the Actions documentation site",[119,245,246,247,252,253,256,257,260],{},"On pull requests, ",[234,248,251],{"href":249,"rel":250},"https:\u002F\u002Fgithub.com\u002Fxova-dev\u002Factions\u002Fblob\u002Fmain\u002F.github\u002Fworkflows\u002Finternal-docs.yml",[238],"internal-docs.yml"," only builds the Worker. Before the first deployment, confirm that ",[39,254,255],{},"xovajs.com"," is active in the target Cloudflare account and that ",[39,258,259],{},"actions.xovajs.com"," is available for this site.",[262,263,264,309],"ol",{},[265,266,267,268,271,272,274,275],"li",{},"Create a Cloudflare API token, optionally using the ",[39,269,270],{},"Edit Cloudflare Workers"," template. Scope it to the target account, limit its zone permissions to ",[39,273,255],{}," and grant the account permissions below.",[15,276,277,287],{},[18,278,279],{},[21,280,281,284],{},[24,282,283],{},"Account permission",[24,285,286],{},"Purpose",[31,288,289,299],{},[21,290,291,296],{},[36,292,293],{},[39,294,295],{},"Workers Scripts: Edit",[36,297,298],{},"Upload the Worker and static assets and attach the custom domain.",[21,300,301,306],{},[36,302,303],{},[39,304,305],{},"D1: Edit",[36,307,308],{},"Look up an existing database and create one on first deployment if needed.",[265,310,311,312,315,316,320,321,48,327],{},"In the ",[39,313,314],{},"xova-dev"," GitHub organization, open ",[317,318,319],"strong",{},"Settings → Secrets and variables → Actions"," and add two organization secrets. For both, set repository access to ",[317,322,323,324],{},"Selected repositories → ",[39,325,326],{},"xova-dev\u002Factions",[15,328,329,339],{},[18,330,331],{},[21,332,333,336],{},[24,334,335],{},"Organization secret",[24,337,338],{},"Value",[31,340,341,353],{},[21,342,343,348],{},[36,344,345],{},[39,346,347],{},"CLOUDFLARE_ACCOUNT_ID",[36,349,350,351,48],{},"Cloudflare Account ID for the account hosting ",[39,352,255],{},[21,354,355,360],{},[36,356,357],{},[39,358,359],{},"CLOUDFLARE_API_TOKEN",[36,361,362],{},"The token created in the previous step.",[119,364,365,366,369,370,373,374,377,378,381,382,48],{},"On pushes to ",[39,367,368],{},"main",", the deploy job uploads the Worker built in that run. Wrangler reuses the D1 database ",[39,371,372],{},"xova-actions-docs"," by name or creates it if missing. The Worker uses the ",[39,375,376],{},"DB"," binding. You can omit ",[39,379,380],{},"database_id",". See the ",[234,383,386],{"href":384,"rel":385},"https:\u002F\u002Fgithub.com\u002Fxova-dev\u002Factions\u002Fblob\u002Fmain\u002Fdocs\u002Fwrangler.jsonc",[238],"Wrangler config",[10,388,390],{"id":389},"what-the-local-tests-cover","What the local tests cover",[392,393,394,400,406,412],"ul",{},[265,395,396,399],{},[317,397,398],{},"CI reuse."," Tests vary the repository, source SHA, config and run attempt. They also check fallback after matrix failures, timeouts and runs missing the full-check marker.",[265,401,402,405],{},[317,403,404],{},"Dependency caches."," Tests install real dependencies on cache hits and misses using a stand-in for the hosted cache API. Check a hosted run for transfer results and timing.",[265,407,408,411],{},[317,409,410],{},"Publishing."," Tests run release-it and pack real tarballs with pnpm or npm. They substitute test responses for the remote APIs. On the first release, check OIDC, the published registry version and provenance.",[265,413,414,417,418,421,422,425,426,429,430,48],{},[317,415,416],{},"Deployment."," Tests check the source SHA, artifact files and digest. To inspect the Worker upload arguments locally, set ",[39,419,420],{},"XOVA_TEST_WRANGLER"," to the absolute path of ",[39,423,424],{},"bin\u002Fwrangler.js"," for the repository’s pinned Wrangler version. Run ",[39,427,428],{},"mise exec -- node --test test\u002Fdeployment-artifact.test.mjs",". The test uses ",[39,431,432],{},"--dry-run",{"title":434,"searchDepth":435,"depth":435,"links":436},"",2,[437,438,439,440],{"id":12,"depth":435,"text":13},{"id":153,"depth":435,"text":154},{"id":242,"depth":435,"text":243},{"id":389,"depth":435,"text":390},"md",null,{},true,"\u002Fen\u002Fmaintenance\u002Fverification",{"title":5,"description":434},"en\u002Fmaintenance\u002F1.verification","eJkvaNRVMxmHidoQ-jEZ2ihVOzOUQB7I8b4pUZa02AQ",[450,442],{"title":451,"path":452,"stem":453,"description":454,"children":-1},"Workflow and action interfaces","\u002Fen\u002Fguides\u002Farchitecture","en\u002Fguides\u002F7.architecture","Shared workflows use GitHub.com hosted Ubuntu runners with Node 24 by default. Projects can use mise and choose their triggers, permissions and checks. For another runner or step order, call the public composite actions from a project job and test on that runner.",[456,470,500],{"title":457,"path":458,"stem":459,"children":460,"page":469},"Examples","\u002Fen\u002Fexamples","en\u002Fexamples",[461,465],{"title":462,"path":463,"stem":464},"From CI downloads to tagged releases","\u002Fen\u002Fexamples\u002Fdownloads","en\u002Fexamples\u002F1.downloads",{"title":466,"path":467,"stem":468},"Monorepo package and documentation site","\u002Fen\u002Fexamples\u002Fmonorepo","en\u002Fexamples\u002F2.monorepo",false,{"title":471,"path":472,"stem":473,"children":474,"page":469},"Guides","\u002Fen\u002Fguides","en\u002Fguides",[475,479,483,487,491,495,499],{"title":476,"path":477,"stem":478},"Workflow architecture","\u002Fen\u002Fguides\u002Fproject-workflows","en\u002Fguides\u002F1.project-workflows",{"title":480,"path":481,"stem":482},"Adopt the workflows","\u002Fen\u002Fguides\u002Fadoption","en\u002Fguides\u002F2.adoption",{"title":484,"path":485,"stem":486},"Releasing","\u002Fen\u002Fguides\u002Freleasing","en\u002Fguides\u002F3.releasing",{"title":488,"path":489,"stem":490},"Deploy a site or Worker","\u002Fen\u002Fguides\u002Fdeployment","en\u002Fguides\u002F4.deployment",{"title":492,"path":493,"stem":494},"release-it configuration","\u002Fen\u002Fguides\u002Frelease-it","en\u002Fguides\u002F5.release-it",{"title":496,"path":497,"stem":498},"npm publication results","\u002Fen\u002Fguides\u002Fpublication-results","en\u002Fguides\u002F6.publication-results",{"title":451,"path":452,"stem":453},{"title":501,"path":502,"stem":503,"children":504,"page":469},"Maintenance","\u002Fen\u002Fmaintenance","en\u002Fmaintenance",[505],{"title":5,"path":445,"stem":447},1796537881717,"2d28474e-0c56-4c42-95a6-d293d7783a6d"]