From 3d2c67172f6538890e53d6b2793518a5005023f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Chalk?= Date: Thu, 4 Dec 2025 12:36:01 +0100 Subject: [PATCH 1/2] ci: invalidate test cache if dependencies change --- nx.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nx.json b/nx.json index 648165e0f..4f25228cc 100644 --- a/nx.json +++ b/nx.json @@ -74,7 +74,7 @@ }, "unit-test": { "cache": true, - "inputs": ["default", "test-vitest-inputs"], + "inputs": ["default", "^production", "test-vitest-inputs"], "outputs": [ "{workspaceRoot}/coverage/{projectName}/unit-tests/lcov.info" ], @@ -88,7 +88,7 @@ }, "int-test": { "cache": true, - "inputs": ["default", "test-vitest-inputs"], + "inputs": ["default", "^production", "test-vitest-inputs"], "outputs": ["{workspaceRoot}/coverage/{projectName}/int-tests/lcov.info"], "executor": "@nx/vite:test", "options": { From 9517233b02206e5bb6273ae66afb8b0f630bad3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Chalk?= Date: Thu, 4 Dec 2025 13:42:30 +0100 Subject: [PATCH 2/2] ci(local-action): fix invalid tsconfig paths in tests with mocked process.cwd() --- .github/actions/code-pushup/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/code-pushup/action.yml b/.github/actions/code-pushup/action.yml index 4faf1fb21..2141cc6e5 100644 --- a/.github/actions/code-pushup/action.yml +++ b/.github/actions/code-pushup/action.yml @@ -17,6 +17,6 @@ runs: run: npx tsx .github/actions/code-pushup/src/runner.ts shell: bash env: - TSX_TSCONFIG_PATH: .github/actions/code-pushup/tsconfig.json + TSX_TSCONFIG_PATH: ${{ github.workspace }}/.github/actions/code-pushup/tsconfig.json GH_TOKEN: ${{ inputs.token }} MODE: ${{ inputs.mode }}