From 3d961a3dbbc69d61ed2880840dcf9fdb1165df84 Mon Sep 17 00:00:00 2001 From: Trenton H <797416+stumpylog@users.noreply.github.com> Date: Wed, 1 Mar 2023 15:16:34 -0800 Subject: [PATCH] Enable package caching for frontend testing --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e3545ecee..7255d1d9f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -190,6 +190,8 @@ jobs: uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} + cache: 'npm' + cache-dependency-path: 'src-ui/package-lock.json' - run: cd src-ui && npm ci - run: cd src-ui && npm run lint - run: cd src-ui && npm run test