diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index e75e3c1f..fb763726 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -394,7 +394,7 @@ jobs: name: 🧪 Smoke Test needs: [prepare, deploy] continue-on-error: true - if: needs.deploy.result == 'success' + if: needs.deploy.result == 'success' && github.ref_type != 'tag' runs-on: docker container: image: catthehacker/ubuntu:act-latest @@ -427,7 +427,7 @@ jobs: name: ⚡ Lighthouse needs: [prepare, deploy] continue-on-error: true - if: success() && needs.prepare.outputs.target != 'skip' + if: success() && needs.prepare.outputs.target != 'skip' && github.ref_type != 'tag' runs-on: docker container: image: catthehacker/ubuntu:act-latest @@ -502,7 +502,7 @@ jobs: name: ♿ WCAG needs: [prepare, deploy, smoke_test] continue-on-error: true - if: success() && needs.prepare.outputs.target != 'skip' + if: success() && needs.prepare.outputs.target != 'skip' && github.ref_type != 'tag' runs-on: docker container: image: catthehacker/ubuntu:act-latest @@ -584,7 +584,7 @@ jobs: name: 🛡️ Quality Gates needs: [prepare, deploy, smoke_test] continue-on-error: true - if: success() && needs.prepare.outputs.target != 'skip' + if: success() && needs.prepare.outputs.target != 'skip' && github.ref_type != 'tag' runs-on: docker container: image: catthehacker/ubuntu:act-latest diff --git a/turbo.json b/turbo.json index 9eeb2b22..1b1f9510 100644 --- a/turbo.json +++ b/turbo.json @@ -1,19 +1,51 @@ { "$schema": "https://turbo.build/schema.json", + "globalDependencies": [ + "pnpm-lock.yaml", + ".gitea/workflows/ci.yml", + ".gitea/workflows/deploy.yml" + ], "tasks": { "lint": { + "inputs": [ + "app/**/*.tsx", + "app/**/*.ts", + "components/**/*.tsx", + "components/**/*.ts", + "lib/**/*.ts", + "eslint.config.mjs" + ], "outputs": [] }, "typecheck": { + "inputs": [ + "app/**/*.tsx", + "app/**/*.ts", + "components/**/*.tsx", + "components/**/*.ts", + "lib/**/*.ts", + "tsconfig.json" + ], "outputs": [] }, "test": { + "inputs": [ + "app/**/*.tsx", + "app/**/*.ts", + "components/**/*.tsx", + "components/**/*.ts", + "lib/**/*.ts", + "tests/**/*.ts", + "vitest.config.mts" + ], "outputs": [] }, "check:spell": { + "inputs": ["content/**/*.{md,mdx}", "app/**/*.tsx", "components/**/*.tsx", "cspell.json"], "outputs": [] }, "check:mdx": { + "inputs": ["content/**/*.{md,mdx}", "scripts/validate-mdx.mjs"], "outputs": [] } }