0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00

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
This commit is contained in:
Daniel Lockyer 2023-07-25 16:04:01 +02:00 committed by Daniel Lockyer
parent 517c406e17
commit af320ab864

View file

@ -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