keep the eslint cache and yarn install

This commit is contained in:
Tobias Koppers 2021-07-23 16:48:07 +02:00 committed by GitHub
parent 1f4e8a293d
commit 5f8adb0110
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -23,6 +23,12 @@ jobs:
with:
node-version: 16.x
cache: 'yarn'
- run: yarn --frozen-lockfile
- uses: actions/cache@v1
with:
path: .eslintcache
key: lint-${{ env.GITHUB_SHA }}
restore-keys: lint-
- run: yarn lint
basic:
runs-on: ubuntu-latest