From 992d0116661afe47ed4260002dae42ab05ebe083 Mon Sep 17 00:00:00 2001 From: Aditya Sharad Date: Thu, 28 Jul 2022 15:36:04 -0700 Subject: [PATCH] CI: Combine JS lint and JS check jobs Reduce the number of concurrent jobs. This will require a branch protection rule update, renaming `check-js` to Check JS` and removing `Lint`. --- .github/workflows/pr-checks.yml | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml index b36fdb8000..a7a754b9e4 100644 --- a/.github/workflows/pr-checks.yml +++ b/.github/workflows/pr-checks.yml @@ -10,17 +10,8 @@ on: workflow_dispatch: jobs: - lint-js: - name: Lint - runs-on: ubuntu-latest - timeout-minutes: 45 - - steps: - - uses: actions/checkout@v3 - - name: Run Lint - run: npm run-script lint - check-js: + name: Check JS runs-on: ubuntu-latest timeout-minutes: 45 @@ -30,7 +21,11 @@ jobs: node-types-version: [12.12, current] steps: - - uses: actions/checkout@v3 + - name: Checkout + uses: actions/checkout@v3 + + - name: Lint + run: npm run-script lint - name: Update version of @types/node if: matrix.node-types-version != 'current'