From 691eb1e8eaac73033056bf403256bc2ebc5d4112 Mon Sep 17 00:00:00 2001 From: Skillz Date: Thu, 5 Jan 2023 13:41:02 -0600 Subject: [PATCH] why on earth is this needed change --- .github/workflows/lint.yml | 70 +++++++++++++++++++------------------- 1 file changed, 35 insertions(+), 35 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 3b178bb7f..1593603e9 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,35 +1,35 @@ -name: Lint - -on: - push: - pull_request: - -jobs: - run-linters: - name: Run linters - runs-on: ubuntu-latest - - steps: - - name: Check out Git repository - uses: actions/checkout@v2 - - - uses: actions/setup-node@v3 - with: - node-version: 18 - - name: Get yarn cache directory path - id: yarn-cache-dir-path - run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT - - uses: actions/cache@v3 - with: - path: ${{ steps.yarn-cache-dir-path.outputs.dir }} - key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} - restore-keys: | - ${{ runner.os }}-yarn- - - run: yarn install --immutable - - name: Run linters - uses: wearerequired/lint-action@v2 - with: - auto_fix: true - eslint: true - eslint_extensions: "js,ts" - prettier: true +name: Lint + +on: + push: + pull_request: + +jobs: + run-linters: + name: Run linters + runs-on: ubuntu-latest + + steps: + - name: Check out Git repository + uses: actions/checkout@v2 + + - uses: actions/setup-node@v3 + with: + node-version: 18 + - name: Get yarn cache directory path + id: yarn-cache-dir-path + run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT + - uses: actions/cache@v3 + with: + path: ${{ steps.yarn-cache-dir-path.outputs.dir }} + key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} + restore-keys: | + ${{ runner.os }}-yarn- + - run: yarn install --immutable + - name: Run linters + uses: wearerequired/lint-action@v2 + with: + auto_fix: true + eslint: true + eslint_extensions: "js,ts" + prettier: true