From a62e3176400b0e1cd037236f03a73280632979eb Mon Sep 17 00:00:00 2001 From: Zeke Sikelianos Date: Wed, 27 Aug 2025 20:20:18 -0700 Subject: [PATCH] ci: enable npm caching in GitHub Actions workflow - Add npm caching to actions/setup-node step - Upgrade actions/setup-node from v3 to v4 - This will speed up CI runs by caching node_modules between workflow runs --- .github/workflows/test.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2f4ba5c..09ea591 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,8 +11,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: 18 + cache: npm - run: npm ci - run: npm test