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:
parent
63f25ece6d
commit
9932454730
1 changed files with 1 additions and 0 deletions
1
nx.json
1
nx.json
|
@ -35,6 +35,7 @@
|
|||
"cache": true
|
||||
},
|
||||
"test:unit": {
|
||||
"dependsOn": ["^build:ts"],
|
||||
"cache": true
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue