diff --git a/.github/workflows/linters.yml b/.github/workflows/linters.yml index 39ea4aa383..80f9e54d5c 100644 --- a/.github/workflows/linters.yml +++ b/.github/workflows/linters.yml @@ -30,20 +30,13 @@ jobs: run: echo "dir=$(corepack yarn config get cacheFolder)" >> $GITHUB_OUTPUT - - uses: actions/cache@v4 - id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`) - with: - path: ${{ steps.yarn-cache-dir-path.outputs.dir }} - key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} - restore-keys: | - ${{ runner.os }}-yarn- - name: Install Node.js uses: actions/setup-node@v4 with: node-version: lts/* + cache: yarn - name: Install dependencies - run: - corepack yarn install --immutable + run: corepack yarn install --immutable - name: Run linter run: corepack yarn run lint - name: Run Prettier