perf(ci): Sort CI steps by length (#4243)

*  Sort CI steps by length

* 🐛 `Build` before `test` for n8n packages
This commit is contained in:
Iván Ovejero 2022-10-10 17:46:50 +02:00 committed by GitHub
parent fdbc11a288
commit d47ff48fb6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 9 deletions

View file

@ -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

View file

@ -24,12 +24,6 @@ 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 }}
@ -37,3 +31,9 @@ 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