Skip to content

Commit

Permalink
chore(lerna): add lerna caching to build and tests (#3350)
Browse files Browse the repository at this point in the history
  • Loading branch information
sedghi authored May 2, 2023
1 parent ef24d89 commit 3cd01c7
Showing 1 changed file with 57 additions and 0 deletions.
57 changes: 57 additions & 0 deletions nx.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{
"tasksRunnerOptions": {
"default": {
"runner": "nx/tasks-runners/default",
"options": {
"cacheableOperations": [
"dev",
"build",
"test:unit",
"test:unit:ci",
"test",
"test:e2e",
"test:e2e:ci",
"test:e2e:local",
"test:e2e:dist",
"test:e2e:serve",
"build:viewer",
"build:dev",
"build:aws",
"build:viewer:ci",
"build:viewer:qa",
"build:viewer:demo",
"build"
]
}
}
},
"targetDefaults": {
"test:unit": {
"dependsOn": ["^test:unit"]
},
"test:unit:ci": {
"dependsOn": ["^test:unit:ci"]
},
"test": {
"dependsOn": ["^test"]
},
"test:e2e": {
"dependsOn": ["^test:e2e"]
},
"test:e2e:ci": {
"dependsOn": ["^test:e2e:ci"]
},
"test:e2e:local": {
"dependsOn": ["^test:e2e:local"]
},
"test:e2e:dist": {
"dependsOn": ["^test:e2e:dist"]
},
"test:e2e:serve": {
"dependsOn": ["^test:e2e:serve"]
},
"build": {
"outputs": ["{projectRoot}/platform/viewer/dist"]
}
}
}

0 comments on commit 3cd01c7

Please sign in to comment.