From 79250a7a2723784b5d9cab5363d95c8a3968f604 Mon Sep 17 00:00:00 2001 From: Muffin Date: Fri, 15 Mar 2024 21:55:14 -0500 Subject: [PATCH] Enable npm cache in GitHub Actions --- .github/workflows/deploy.yml | 1 + .github/workflows/node.js.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index ae46edadcbb..36d442a6515 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -23,6 +23,7 @@ jobs: uses: actions/setup-node@v4 with: node-version: 20 + cache: npm - name: Install dependencies run: npm ci - name: Build playground diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 6df25ff0f6f..ea853b4f66c 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -13,6 +13,7 @@ jobs: uses: actions/setup-node@v4 with: node-version: 20 + cache: npm - run: npm ci - run: npm run lint - run: npm run build