From 05922d9c5ac2523c66bbdd02f9fd185559b16aaf Mon Sep 17 00:00:00 2001 From: Matthew Sevey Date: Wed, 6 Apr 2022 15:27:36 -0400 Subject: [PATCH] review updates --- .github/actions/js-lint/action.yml | 3 +++ .github/workflows/lint.yml | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/actions/js-lint/action.yml b/.github/actions/js-lint/action.yml index 914b7861..29715886 100644 --- a/.github/actions/js-lint/action.yml +++ b/.github/actions/js-lint/action.yml @@ -16,6 +16,9 @@ runs: node-version: 16.x - run: | yarn + shell: bash + working-directory: ${{ inputs.working-directory }} + - run: | yarn prettier --check . shell: bash working-directory: ${{ inputs.working-directory }} diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index e3faf98b..984c2dd9 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -82,12 +82,12 @@ jobs: runs-on: ubuntu-latest outputs: # Check if the changed status of py is true - updates: steps.changes.outputs.py == 'true' + updates: steps.filter.outputs.py == 'true' steps: # Use paths-filter to determine which paths have changes # https://github.com/dorny/paths-filter - uses: dorny/paths-filter@v2 - id: changes + id: filter with: filters: | py: "**.py"