Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
chore(ci): skip other jobs if affected fails
Elian Doran845af5472ebd
diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.ymlindex b753f0bc4d..e3bd63fc48 100644--- a/.github/workflows/dev.yml+++ b/.github/workflows/dev.yml@@ -19,8 +19,8 @@ permissions:pull-requests: write # for PR commentsjobs:- report-electron-size:- name: Report Electron size+ check-affected:+ name: Check affected jobs (NX)runs-on: ubuntu-lateststeps:- name: Checkout the repository@@ -38,6 +38,24 @@ jobs:- name: Check affectedrun: pnpm nx affected -t=rebuild-deps+ report-electron-size:+ name: Report Electron size+ runs-on: ubuntu-latest+ needs:+ - check-affected+ steps:+ - name: Checkout the repository+ uses: actions/checkout@v4++ - uses: pnpm/action-setup@v4+ - name: Set up node & dependencies+ uses: actions/setup-node@v4+ with:+ node-version: 22+ cache: 'pnpm'+ - name: Install dependencies+ run: pnpm install --frozen-lockfile+- name: Run the builduses: ./.github/actions/build-electronwith:@@ -58,6 +76,8 @@ jobs:report-server-size:name: Report server sizeruns-on: ubuntu-latest+ needs:+ - check-affectedsteps:- name: Checkout the repositoryuses: actions/checkout@v4@@ -90,6 +110,8 @@ jobs:test_dev:name: Test developmentruns-on: ubuntu-latest+ needs:+ - check-affectedsteps:- name: Checkout the repositoryuses: actions/checkout@v4@@ -110,6 +132,7 @@ jobs:runs-on: ubuntu-latestneeds:- test_dev+ - check-affectedsteps:- uses: actions/checkout@v4- uses: pnpm/action-setup@v4@@ -130,6 +153,7 @@ jobs:runs-on: ubuntu-latestneeds:- build_docker+ - check-affectedstrategy:matrix:include: