<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>CI/CD on Commentary of Takao</title><link>https://takao.blog/es/categories/ci/cd/</link><description>Recent content in CI/CD on Commentary of Takao</description><generator>Hugo -- gohugo.io</generator><language>es</language><copyright>Commentary of Takao</copyright><lastBuildDate>Sun, 12 Jul 2026 04:12:51 +0900</lastBuildDate><atom:link href="https://takao.blog/es/categories/ci/cd/index.xml" rel="self" type="application/rss+xml"/><item><title>Caché en GitHub Actions: Acelerar workflows</title><link>https://takao.blog/es/web/github-actions-caching-setup/</link><pubDate>Thu, 20 Nov 2025 00:00:00 +0900</pubDate><guid>https://takao.blog/es/web/github-actions-caching-setup/</guid><description>&lt;img src="https://takao.blog/img/thumbnail/github-actions-caching-setup-es.png" alt="Featured image of post Caché en GitHub Actions: Acelerar workflows" /&gt;&lt;p&gt;El caché de GitHub Actions almacena dependencias y artefactos entre ejecuciones. Reduce drásticamente el tiempo de CI.&lt;/p&gt;
&lt;h2 id="actioncache"&gt;action/cache
&lt;/h2&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-yaml" data-lang="yaml"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;- &lt;span style="color:#f92672"&gt;uses&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;actions/cache@v4&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;with&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;path&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;~/.npm&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;key&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;npm-${{ hashFiles(&amp;#39;package-lock.json&amp;#39;) }}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="estrategias-de-clave"&gt;Estrategias de clave
&lt;/h2&gt;&lt;p&gt;Usa hash de archivos lock como clave primaria. Restore keys para coincidencias parciales. Fallback a último cache válido si cambian las dependencias.&lt;/p&gt;
&lt;h2 id="límites"&gt;Límites
&lt;/h2&gt;&lt;p&gt;10GB por repositorio. 7 días de retención (último acceso). Limpieza manual con API de GitHub. Cache miss si la clave no coincide exactamente.&lt;/p&gt;</description></item></channel></rss>