Skip to content

Commit

Permalink
Fix turbo config
Browse files Browse the repository at this point in the history
  • Loading branch information
bperel committed Dec 8, 2024
1 parent 97284dc commit ab13db8
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 10 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,7 @@ jobs:

- name: Build apps
run: |
turbo -F "...[$lastSuccessfulCommit]" -F '!~ci' -F '!~dumili' -F '!~dumili-api' build
- name: Build and push Docker images
run: |
turbo -F "...[$lastSuccessfulCommit]" -F '!~ci' -F '!~dumili' -F '!~dumili-api' prod:build-docker
turbo -F "...[$lastSuccessfulCommit]" -F '!~ci' -F '!~dumili' -F '!~dumili-api' build prod:build-docker
- name: Send post-build files
run: |
Expand Down
18 changes: 13 additions & 5 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@
"tasks": {
"lint": {},
"build": {
"passThroughEnv": ["SENTRY_AUTH_TOKEN"],
"passThroughEnv": [
"SENTRY_AUTH_TOKEN"
],
"inputs": [
"$TURBO_DEFAULT$",
"!api"
],
"dependsOn": [
"^build",
"prod:build-docker"
"^build"
],
"outputs": [
"dist/**"
Expand All @@ -20,6 +21,9 @@
"prod:build-docker": {
"passThroughEnv": [
"REPO_NAME"
],
"dependsOn": [
"build"
]
},
"prod:deploy": {
Expand Down Expand Up @@ -58,10 +62,14 @@
},
"dev:setup": {},
"dev:blocking": {
"dependsOn": ["dev:setup"]
"dependsOn": [
"dev:setup"
]
},
"dev:blocking-up": {
"dependsOn": ["dev:setup"]
"dependsOn": [
"dev:setup"
]
},
"dev": {
"persistent": true,
Expand Down

0 comments on commit ab13db8

Please sign in to comment.