diff --git a/.woodpecker/ci.yml b/.woodpecker/ci.yml index 889d735c..91cfecf2 100644 --- a/.woodpecker/ci.yml +++ b/.woodpecker/ci.yml @@ -1,6 +1,6 @@ steps: # =========================================== - # PR VALIDATION: Parallel type checks (PRs only) + # PR VALIDATION: Only typecheck changed projects # =========================================== typecheck-backend: image: code.cannabrands.app/creationshop/node:20 @@ -11,6 +11,8 @@ steps: depends_on: [] when: event: pull_request + path: + include: ['backend/**'] typecheck-cannaiq: image: code.cannabrands.app/creationshop/node:20 @@ -21,26 +23,10 @@ steps: depends_on: [] when: event: pull_request + path: + include: ['cannaiq/**'] - typecheck-findadispo: - image: code.cannabrands.app/creationshop/node:20 - commands: - - cd findadispo/frontend - - npm ci --prefer-offline - - npx tsc --noEmit 2>/dev/null || true - depends_on: [] - when: - event: pull_request - - typecheck-findagram: - image: code.cannabrands.app/creationshop/node:20 - commands: - - cd findagram/frontend - - npm ci --prefer-offline - - npx tsc --noEmit 2>/dev/null || true - depends_on: [] - when: - event: pull_request + # findadispo/findagram typechecks skipped - they have || true anyway # =========================================== # AUTO-MERGE: Merge PR after all checks pass @@ -62,8 +48,6 @@ steps: depends_on: - typecheck-backend - typecheck-cannaiq - - typecheck-findadispo - - typecheck-findagram when: event: pull_request diff --git a/cannaiq/index.html b/cannaiq/index.html index 64c80c2d..352f0ad1 100755 --- a/cannaiq/index.html +++ b/cannaiq/index.html @@ -2,7 +2,7 @@
- +{user?.email}