mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +00: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:
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
|
||||
|
||||
Reference in New Issue
Block a user