From af320ab864064b671214125593b7ff017bbe0b3d Mon Sep 17 00:00:00 2001 From: Daniel Lockyer Date: Tue, 25 Jul 2023 16:04:01 +0200 Subject: [PATCH] Fixed new package detection - turns out new packages folders aren't generating an `A` status in `git diff`, so this line never worked - if we create a `package.json` file, we can reasonably assume we're creating a new package, so this should fix the issues we were seeing with caching + new packages --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ba75ab59fa..1946aa4a35 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -62,7 +62,7 @@ jobs: with: filters: | new-package: - - added: 'ghost/*' + - added: 'ghost/**/package.json' - name: Determine changed packages uses: AurorNZ/paths-filter@v3.0.1