-
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.
Turborepo is now used for all the web apps. It caches the build which is used in main-ci as well as various deployments.
- Loading branch information
1 parent
6ff96b5
commit 203d081
Showing
13 changed files
with
106 additions
and
19 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,9 @@ on: | |
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
env: | ||
TURBO_URL: ${{ secrets.TURBO_URL }} | ||
TURBO_CODE: ${{ secrets.TURBO_CODE }} | ||
defaults: | ||
run: | ||
working-directory: gg-mono | ||
|
@@ -20,7 +23,7 @@ jobs: | |
- name: install dependencies | ||
run: pnpm install --frozen-lockfile | ||
- name: build | ||
run: cd apps/dashboard && pnpm build | ||
run: cd apps/dashboard && pnpm build:ci | ||
- name: deploy dashboard | ||
uses: cloudflare/[email protected] | ||
with: | ||
|
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 |
---|---|---|
|
@@ -5,6 +5,9 @@ on: | |
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
env: | ||
TURBO_URL: ${{ secrets.TURBO_URL }} | ||
TURBO_CODE: ${{ secrets.TURBO_CODE }} | ||
defaults: | ||
run: | ||
working-directory: gg-mono | ||
|
@@ -20,7 +23,7 @@ jobs: | |
- name: install dependencies | ||
run: pnpm install --frozen-lockfile | ||
- name: build | ||
run: pnpm build | ||
run: cd docs/starlight && pnpm build:ci | ||
- name: publish docs | ||
uses: cloudflare/[email protected] | ||
with: | ||
|
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 |
---|---|---|
|
@@ -7,9 +7,9 @@ jobs: | |
|
||
build: | ||
runs-on: ubuntu-latest | ||
# defaults: | ||
# run: | ||
# working-directory: gg-mono | ||
env: | ||
TURBO_URL: ${{ secrets.TURBO_URL }} | ||
TURBO_CODE: ${{ secrets.TURBO_CODE }} | ||
timeout-minutes: 1 | ||
steps: | ||
- uses: actions/[email protected] | ||
|
@@ -23,7 +23,7 @@ jobs: | |
- name: format | ||
run: cd gg-mono && pnpm format:check | ||
- name: build | ||
run: cd gg-mono && pnpm build | ||
run: cd gg-mono && pnpm build:ci | ||
- name: install dependencies | ||
run: cd native_gg && pnpm install --frozen-lockfile | ||
- name: lint | ||
|
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 |
---|---|---|
|
@@ -24,6 +24,7 @@ coverage | |
*.njsproj | ||
*.sln | ||
*.sw? | ||
.turbo | ||
|
||
# environment variables | ||
.env | ||
|
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
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
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,10 @@ | ||
{ | ||
"$schema": "https://turbo.build/schema.json", | ||
"pipeline": { | ||
"build": { | ||
"dependsOn": ["^build"], | ||
"outputs": ["dist/**"] | ||
}, | ||
"type-check": {} | ||
} | ||
} |