From a287912cf2580b1b74c91a0da9343495f987f6c0 Mon Sep 17 00:00:00 2001 From: Daniel Lockyer Date: Thu, 23 Mar 2023 10:39:34 +0100 Subject: [PATCH] Added `.eslintcache` caching to CI refs https://github.com/TryGhost/Toolbox/issues/532 - this will cache the `.eslintcache` files in packages, which should dramatically speed up linting in CI --- .github/workflows/test.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9e6ccb8d12..2a91dd5913 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -26,6 +26,12 @@ jobs: with: node-version: '16.13.0' cache: yarn + + - uses: actions/cache@v3 + with: + path: ghost/**/.eslintcache + key: eslint-cache + - run: yarn - run: yarn lint - uses: daniellockyer/action-slack-build@master