From 6540fb10e4238e1dd510ac0dced49dc8000023f8 Mon Sep 17 00:00:00 2001 From: Stevan Freeborn <65925598+StevanFreeborn@users.noreply.github.com> Date: Mon, 20 Feb 2023 12:40:52 -0600 Subject: [PATCH] fix: update workflow --- .github/workflows/lint_test_format.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/lint_test_format.yaml b/.github/workflows/lint_test_format.yaml index b6e1c58..f8bc8f4 100644 --- a/.github/workflows/lint_test_format.yaml +++ b/.github/workflows/lint_test_format.yaml @@ -9,6 +9,7 @@ on: - master jobs: lint: + id: lint name: lint runs-on: ubuntu-latest steps: @@ -25,15 +26,19 @@ jobs: - name: Run lint-fix run: npm run lint-fix - name: Commit changes + id: commit uses: EndBug/add-and-commit@v9 with: commit: --no-verify message: 'fix: resolve linter errors' committer_name: GitHub Actions committer_email: actions@github.com + outputs: + committed: ${{ steps.commit.committed }} test: - if: ${{ jobs.lint.committed == false }} + if: ${{ jobs.lint.outputs.committed == false }} needs: lint + id: test name: test runs-on: ubuntu-latest strategy: @@ -83,6 +88,7 @@ jobs: TEST_TEXT_FIELD: ${{ vars.TEST_TEXT_FIELD }} publish_test_coverage: needs: test + id: publish_test_coverage name: publish_test_coverage runs-on: ubuntu-latest steps: