This repository has been archived by the owner on Aug 27, 2024. It is now read-only.
Bump @babel/core from 7.19.1 to 7.22.15 #3358
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# From: https:/hallee/eslint-action/issues/23#issuecomment-674761123 | |
name: Lint | |
on: push | |
jobs: | |
eslint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
# ~~~ CACHING ~~~ | |
# The following is just to do caching of yarn and eslint, it's not necessary to get linting to work | |
# I would recommend first trying without | |
- name: Get yarn cache directory path | |
id: yarn-cache-dir-path | |
run: echo "::set-output name=dir::$(yarn cache dir)" | |
- name: Cache action | |
uses: actions/[email protected] | |
id: yarn-cache | |
with: | |
path: | | |
${{ steps.yarn-cache-dir-path.outputs.dir }} | |
./.eslintcache | |
key: ${{ runner.os }}-yarn-lint-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: | | |
${{ runner.os }}-yarn-lint- | |
# ~~~ END CACHING ~~~ | |
- name: Setup Node | |
uses: actions/[email protected] | |
with: | |
node-version: "14" | |
- name: Install dependencies | |
run: yarn install | |
- name: Lint | |
run: yarn lint |