0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00

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: with:
node-version: '16.13.0' node-version: '16.13.0'
cache: yarn cache: yarn
- uses: actions/cache@v3
with:
path: ghost/**/.eslintcache
key: eslint-cache
- run: yarn - run: yarn
- run: yarn lint - run: yarn lint
- uses: daniellockyer/action-slack-build@master - uses: daniellockyer/action-slack-build@master