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
This commit is contained in:
Daniel Lockyer 2023-03-23 10:39:34 +01:00
parent e313423d2e
commit a287912cf2
No known key found for this signature in database

View File

@ -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