mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 04:34:06 -08:00
perf(ci): Sort CI steps by length (#4243)
* ⚡ Sort CI steps by length * 🐛 `Build` before `test` for n8n packages
This commit is contained in:
parent
fdbc11a288
commit
d47ff48fb6
6
.github/workflows/ci-master.yml
vendored
6
.github/workflows/ci-master.yml
vendored
|
@ -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
|
||||
|
|
12
.github/workflows/ci-pull-requests.yml
vendored
12
.github/workflows/ci-pull-requests.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue