0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2024-12-30 22:34:01 -05:00

Added build:ts dependency to yarn test:unit (#21328)

no issue

- Running `yarn test:unit` fails unless you've previously run `yarn
build:ts`. This change tells `nx` about this dependency, so it will run
`yarn build:ts` before `yarn test:unit`. It should take advantage of the
nx cache though, so it will only run the `build:ts` task if necessary
This commit is contained in:
Chris Raible 2024-10-16 12:15:14 -07:00 committed by GitHub
parent 63f25ece6d
commit 9932454730
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -35,6 +35,7 @@
"cache": true
},
"test:unit": {
"dependsOn": ["^build:ts"],
"cache": true
}
},