]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Enable package caching for frontend testing
authorTrenton H <797416+stumpylog@users.noreply.github.com>
Wed, 1 Mar 2023 23:16:34 +0000 (15:16 -0800)
committerTrenton H <797416+stumpylog@users.noreply.github.com>
Thu, 2 Mar 2023 16:03:41 +0000 (08:03 -0800)
.github/workflows/ci.yml

index e3545ecee4724b87918af27a56449435f80e5ffd..7255d1d9f25a9d4695405c020d4a594b0e5b7bf4 100644 (file)
@@ -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