From 5f87054a627ec55608038971979ac93a603322ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Ovejero?= Date: Mon, 10 Oct 2022 19:37:54 +0200 Subject: [PATCH] :rewind: Revert "perf(ci): Sort CI steps by length (#4243)" This reverts commit d47ff48fb633cb93cc1df2be06f9608f4f23c14a. --- .github/workflows/ci-master.yml | 6 +++--- .github/workflows/ci-pull-requests.yml | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci-master.yml b/.github/workflows/ci-master.yml index d1da655d9d386..f340184a82bc1 100644 --- a/.github/workflows/ci-master.yml +++ b/.github/workflows/ci-master.yml @@ -27,11 +27,11 @@ jobs: - name: Install npm and dependencies run: npm install -g npm@latest && npm install - - name: Lint - run: npm run lint - - name: Build run: npm run build --if-present - name: Test run: npm run test + + - name: Lint + run: npm run lint diff --git a/.github/workflows/ci-pull-requests.yml b/.github/workflows/ci-pull-requests.yml index e44c25c0d7b50..3be4f949fafaf 100644 --- a/.github/workflows/ci-pull-requests.yml +++ b/.github/workflows/ci-pull-requests.yml @@ -24,6 +24,12 @@ jobs: - name: Install npm and dependencies run: npm install -g npm@latest && npm install + - name: Build + run: npm run build --if-present + + - name: Test + run: npm run test + - name: Fetch base branch for `git diff` run: git fetch origin ${{ github.event.pull_request.base.ref }}:${{ github.event.pull_request.base.ref }} @@ -31,9 +37,3 @@ jobs: env: ESLINT_PLUGIN_DIFF_COMMIT: ${{ github.event.pull_request.base.ref }} run: npm run lint - - - name: Build - run: npm run build --if-present - - - name: Test - run: npm run test