forked from TanStack/query
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore:
test:lib
task-caching w/ Nx (TanStack#5116)
* adding quick caching test * reverting workflow change * updating pr yml to test nx speed * fixing yml on property * fixing yml on property * fixing target name * upping to running4 in parallel * upping to running 5 in parallel * upping to running 6 in parallel * upping to running 7 in parallel * upping to running 8 in parallel * upping to running 9 in parallel * upping to running 10 in parallel * opting for --parallel=5 * cleaning up nx.json * revert touching of ci.yml file * reverting on property of pr.yml file * updating root pacakge.json test:lib command * fixing frozen lockfile error in ci --------- Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
- Loading branch information
1 parent
9ac386b
commit c372c2e
Showing
4 changed files
with
417 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{ | ||
"tasksRunnerOptions": { | ||
"default": { | ||
"runner": "nx/tasks-runners/default", | ||
"options": { | ||
"cacheableOperations": ["test:lib"] | ||
} | ||
} | ||
}, | ||
"defaultBase": "main", | ||
"namedInputs": { | ||
"globalBuildAffectingConfig": [ | ||
"{workspaceRoot}/babel.config.js", | ||
"{workspaceRoot}/rollup.config.js", | ||
"{workspaceRoot}/rollup.config.ts", | ||
"{workspaceRoot}/tsconfig.json", | ||
"{workspaceRoot}/tsconfig.base.json" | ||
], | ||
"globalNonBuildAffectingConfig": [ | ||
"{workspaceRoot}/.eslintrc", | ||
"{workspaceRoot}/jest-preset.js" | ||
], | ||
"default": ["{projectRoot}/**/*", "globalBuildAffectingConfig", "globalNonBuildAffectingConfig"], | ||
"public": [ | ||
"default", | ||
"!{workspaceRoot}/.eslintrc", | ||
"!{workspaceRoot}/jest-preset.js", | ||
"!{projectRoot}/**/?(*.)+(spec|test).[jt]s?(x)?(.snap)", | ||
"!{projectRoot}/.eslintrc", | ||
"!{projectRoot}/jest.config.js" | ||
] | ||
}, | ||
"targetDefaults": { | ||
"test:lib": { | ||
"outputs": ["{projectRoot}/coverage"], | ||
"inputs": ["default", "^public"] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.