[{"data":1,"prerenderedAt":494,"buildId":495},["ShallowReactive",2],{"-en-guides-adoption":3,"-en-guides-adoption-surround":441,"navigation_docs_en":450},{"id":4,"title":5,"body":6,"description":432,"extension":433,"links":434,"meta":435,"navigation":436,"path":437,"seo":438,"stem":439,"__hash__":440},"docs_en\u002Fen\u002Fguides\u002F2.adoption.md","Adopt the workflows",{"type":7,"value":8,"toc":424},"minimark",[9,22,27,382,385,389,420],[10,11,12,13,17,18,21],"p",{},"This example uses a Node project on GitHub.com with a ",[14,15,16],"code",{},"test"," script in its root ",[14,19,20],{},"package.json",".",[23,24,26],"h2",{"id":25},"run-tests-on-pull-requests","Run tests on pull requests",[28,29,31,36,42,73,278,282,287,358,362,372],"steps",{"level":30},"3",[32,33,35],"h3",{"id":34},"set-the-check-command","Set the check command",[10,37,38,39,21],{},"Create ",[14,40,41],{},".github\u002Fxova.json",[43,44,45,60],"ul",{},[46,47,48,52,53,56,57,21],"li",{},[49,50,51],"strong",{},"pnpm",": Commit ",[14,54,55],{},"pnpm-lock.yaml"," and declare your Node and pnpm versions in ",[14,58,59],{},"mise.toml",[46,61,62,52,65,68,69,72],{},[49,63,64],{},"npm",[14,66,67],{},"package-lock.json",". The workflow uses Node 24 and ",[14,70,71],{},"npm ci"," by default.",[74,75,76,222],"code-group",{},[77,78,83],"pre",{"className":79,"code":80,"filename":51,"language":81,"meta":82,"style":82},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\n  \"schemaVersion\": 1,\n  \"setup\": {\n    \"toolchain\": \"mise\",\n    \"install-command\": \"pnpm install --frozen-lockfile\"\n  },\n  \"code\": { \"check-command\": \"pnpm test\" }\n}\n","json","",[14,84,85,94,117,132,157,177,183,216],{"__ignoreMap":82},[86,87,90],"span",{"class":88,"line":89},"line",1,[86,91,93],{"class":92},"sMK4o","{\n",[86,95,97,100,104,107,110,114],{"class":88,"line":96},2,[86,98,99],{"class":92},"  \"",[86,101,103],{"class":102},"spNyl","schemaVersion",[86,105,106],{"class":92},"\"",[86,108,109],{"class":92},":",[86,111,113],{"class":112},"sbssI"," 1",[86,115,116],{"class":92},",\n",[86,118,120,122,125,127,129],{"class":88,"line":119},3,[86,121,99],{"class":92},[86,123,124],{"class":102},"setup",[86,126,106],{"class":92},[86,128,109],{"class":92},[86,130,131],{"class":92}," {\n",[86,133,135,138,142,144,146,149,153,155],{"class":88,"line":134},4,[86,136,137],{"class":92},"    \"",[86,139,141],{"class":140},"sBMFI","toolchain",[86,143,106],{"class":92},[86,145,109],{"class":92},[86,147,148],{"class":92}," \"",[86,150,152],{"class":151},"sfazB","mise",[86,154,106],{"class":92},[86,156,116],{"class":92},[86,158,160,162,165,167,169,171,174],{"class":88,"line":159},5,[86,161,137],{"class":92},[86,163,164],{"class":140},"install-command",[86,166,106],{"class":92},[86,168,109],{"class":92},[86,170,148],{"class":92},[86,172,173],{"class":151},"pnpm install --frozen-lockfile",[86,175,176],{"class":92},"\"\n",[86,178,180],{"class":88,"line":179},6,[86,181,182],{"class":92},"  },\n",[86,184,186,188,190,192,194,197,199,202,204,206,208,211,213],{"class":88,"line":185},7,[86,187,99],{"class":92},[86,189,14],{"class":102},[86,191,106],{"class":92},[86,193,109],{"class":92},[86,195,196],{"class":92}," {",[86,198,148],{"class":92},[86,200,201],{"class":140},"check-command",[86,203,106],{"class":92},[86,205,109],{"class":92},[86,207,148],{"class":92},[86,209,210],{"class":151},"pnpm test",[86,212,106],{"class":92},[86,214,215],{"class":92}," }\n",[86,217,219],{"class":88,"line":218},8,[86,220,221],{"class":92},"}\n",[77,223,225],{"className":79,"code":224,"filename":64,"language":81,"meta":82,"style":82},"{\n  \"schemaVersion\": 1,\n  \"code\": { \"check-command\": \"npm test\" }\n}\n",[14,226,227,231,245,274],{"__ignoreMap":82},[86,228,229],{"class":88,"line":89},[86,230,93],{"class":92},[86,232,233,235,237,239,241,243],{"class":88,"line":96},[86,234,99],{"class":92},[86,236,103],{"class":102},[86,238,106],{"class":92},[86,240,109],{"class":92},[86,242,113],{"class":112},[86,244,116],{"class":92},[86,246,247,249,251,253,255,257,259,261,263,265,267,270,272],{"class":88,"line":119},[86,248,99],{"class":92},[86,250,14],{"class":102},[86,252,106],{"class":92},[86,254,109],{"class":92},[86,256,196],{"class":92},[86,258,148],{"class":92},[86,260,201],{"class":140},[86,262,106],{"class":92},[86,264,109],{"class":92},[86,266,148],{"class":92},[86,268,269],{"class":151},"npm test",[86,271,106],{"class":92},[86,273,215],{"class":92},[86,275,276],{"class":88,"line":134},[86,277,221],{"class":92},[32,279,281],{"id":280},"add-the-pr-workflow","Add the PR workflow",[10,283,38,284,21],{},[14,285,286],{},".github\u002Fworkflows\u002Fci.yml",[77,288,292],{"className":289,"code":290,"filename":286,"language":291,"meta":82,"style":82},"language-yaml shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","name: CI\non: pull_request\npermissions:\n  contents: read\njobs:\n  check:\n    uses: xova-dev\u002Factions\u002F.github\u002Fworkflows\u002Fcheck.yml@XOVA_ACTIONS_SHA\n","yaml",[14,293,294,305,316,324,334,341,348],{"__ignoreMap":82},[86,295,296,300,302],{"class":88,"line":89},[86,297,299],{"class":298},"swJcz","name",[86,301,109],{"class":92},[86,303,304],{"class":151}," CI\n",[86,306,307,311,313],{"class":88,"line":96},[86,308,310],{"class":309},"sfNiH","on",[86,312,109],{"class":92},[86,314,315],{"class":151}," pull_request\n",[86,317,318,321],{"class":88,"line":119},[86,319,320],{"class":298},"permissions",[86,322,323],{"class":92},":\n",[86,325,326,329,331],{"class":88,"line":134},[86,327,328],{"class":298},"  contents",[86,330,109],{"class":92},[86,332,333],{"class":151}," read\n",[86,335,336,339],{"class":88,"line":159},[86,337,338],{"class":298},"jobs",[86,340,323],{"class":92},[86,342,343,346],{"class":88,"line":179},[86,344,345],{"class":298},"  check",[86,347,323],{"class":92},[86,349,350,353,355],{"class":88,"line":185},[86,351,352],{"class":298},"    uses",[86,354,109],{"class":92},[86,356,357],{"class":151}," xova-dev\u002Factions\u002F.github\u002Fworkflows\u002Fcheck.yml@XOVA_ACTIONS_SHA\n",[32,359,361],{"id":360},"open-a-pull-request","Open a pull request",[10,363,364,365,368,369,21],{},"Replace ",[14,366,367],{},"XOVA_ACTIONS_SHA"," directly in the workflow file with the full 40-character SHA of a commit that passed CI in ",[14,370,371],{},"xova-dev\u002Factions",[10,373,374,375,378,379,381],{},"Commit the files and open a pull request. In the ",[14,376,377],{},"CI"," run, verify that dependencies were installed from the lockfile and the project’s ",[14,380,16],{}," script passed.",[10,383,384],{},"If GitHub blocks the run, check that your repository's Actions settings allow the workflow and the actions it calls. For a private workflow, its repository must also grant your repository access.",[23,386,388],{"id":387},"next-steps","Next steps",[43,390,391,399,406,413],{},[46,392,393,398],{},[394,395,397],"a",{"href":396},"\u002Fen\u002Fexamples\u002Fdownloads","Daily CI and tag publication"," use one config. Download a ZIP to test, then build attachments from the version tag.",[46,400,401,405],{},[394,402,404],{"href":403},"\u002Fen\u002Fexamples\u002Fmonorepo","Monorepo package and documentation site"," covers a shared package, an isolated npm tarball install and GitHub Pages deployment.",[46,407,408,412],{},[394,409,411],{"href":410},"\u002Fen\u002Fguides\u002Freleasing","Release a version",". Choose npm or a standalone GitHub Release and configure checks for the tagged commit.",[46,414,415,419],{},[394,416,418],{"href":417},"\u002Fen\u002Fguides\u002Fdeployment","Deploy documentation",". Choose a provider and configure the artifact and deployment permissions.",[421,422,423],"style",{},"html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .sfNiH, html code.shiki .sfNiH{--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC}",{"title":82,"searchDepth":96,"depth":96,"links":425},[426,431],{"id":25,"depth":96,"text":26,"children":427},[428,429,430],{"id":34,"depth":119,"text":35},{"id":280,"depth":119,"text":281},{"id":360,"depth":119,"text":361},{"id":387,"depth":96,"text":388},"Run a pnpm or npm project's tests on pull requests with read-only repository access.","md",null,{},true,"\u002Fen\u002Fguides\u002Fadoption",{"title":5,"description":432},"en\u002Fguides\u002F2.adoption","3_1xC3_op-92Dwya3ALrocZOPYuRFWHDM47svZMOi2Q",[442,447],{"title":443,"path":444,"stem":445,"description":446,"children":-1},"Workflow architecture","\u002Fen\u002Fguides\u002Fproject-workflows","en\u002Fguides\u002F1.project-workflows","Your project sets triggers, job dependencies and permissions in .github\u002Fworkflows\u002F. Daily CI and tag publication can use the same check and build commands from .github\u002Fxova.json.",{"title":448,"path":410,"stem":449,"description":82,"children":-1},"Releasing","en\u002Fguides\u002F3.releasing",[451,462,485],{"title":452,"path":453,"stem":454,"children":455,"page":461},"Examples","\u002Fen\u002Fexamples","en\u002Fexamples",[456,459],{"title":457,"path":396,"stem":458},"From CI downloads to tagged releases","en\u002Fexamples\u002F1.downloads",{"title":404,"path":403,"stem":460},"en\u002Fexamples\u002F2.monorepo",false,{"title":463,"path":464,"stem":465,"children":466,"page":461},"Guides","\u002Fen\u002Fguides","en\u002Fguides",[467,468,469,470,473,477,481],{"title":443,"path":444,"stem":445},{"title":5,"path":437,"stem":439},{"title":448,"path":410,"stem":449},{"title":471,"path":417,"stem":472},"Deploy a site or Worker","en\u002Fguides\u002F4.deployment",{"title":474,"path":475,"stem":476},"release-it configuration","\u002Fen\u002Fguides\u002Frelease-it","en\u002Fguides\u002F5.release-it",{"title":478,"path":479,"stem":480},"npm publication results","\u002Fen\u002Fguides\u002Fpublication-results","en\u002Fguides\u002F6.publication-results",{"title":482,"path":483,"stem":484},"Workflow and action interfaces","\u002Fen\u002Fguides\u002Farchitecture","en\u002Fguides\u002F7.architecture",{"title":486,"path":487,"stem":488,"children":489,"page":461},"Maintenance","\u002Fen\u002Fmaintenance","en\u002Fmaintenance",[490],{"title":491,"path":492,"stem":493},"Maintain Xova Actions","\u002Fen\u002Fmaintenance\u002Fverification","en\u002Fmaintenance\u002F1.verification",1796537881035,"2d28474e-0c56-4c42-95a6-d293d7783a6d"]