-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: Use turbo for build cache (no-changelog)
- Loading branch information
Showing
9 changed files
with
126 additions
and
44 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 |
---|---|---|
|
@@ -23,6 +23,9 @@ jobs: | |
- name: Install dependencies | ||
run: pnpm install --frozen-lockfile | ||
|
||
- name: Setup build cache | ||
uses: rharkor/[email protected] | ||
|
||
- name: Build | ||
run: pnpm build | ||
|
||
|
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 |
---|---|---|
|
@@ -26,6 +26,9 @@ jobs: | |
cache: 'pnpm' | ||
- run: pnpm install --frozen-lockfile | ||
|
||
- name: Setup build cache | ||
uses: rharkor/[email protected] | ||
|
||
- name: Build Backend | ||
run: pnpm build:backend | ||
|
||
|
@@ -52,6 +55,9 @@ jobs: | |
cache: 'pnpm' | ||
- run: pnpm install --frozen-lockfile | ||
|
||
- name: Setup build cache | ||
uses: rharkor/[email protected] | ||
|
||
- name: Restore cached build artifacts | ||
uses: actions/cache/[email protected] | ||
with: | ||
|
@@ -60,7 +66,7 @@ jobs: | |
|
||
- name: Test SQLite Pooled | ||
working-directory: packages/cli | ||
run: pnpm jest --coverage | ||
run: pnpm jest | ||
|
||
mysql: | ||
name: MySQL | ||
|
@@ -78,6 +84,9 @@ jobs: | |
cache: 'pnpm' | ||
- run: pnpm install --frozen-lockfile | ||
|
||
- name: Setup build cache | ||
uses: rharkor/[email protected] | ||
|
||
- name: Restore cached build artifacts | ||
uses: actions/cache/[email protected] | ||
with: | ||
|
@@ -112,6 +121,9 @@ jobs: | |
cache: 'pnpm' | ||
- run: pnpm install --frozen-lockfile | ||
|
||
- name: Setup build cache | ||
uses: rharkor/[email protected] | ||
|
||
- name: Restore cached build artifacts | ||
uses: actions/cache/[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 |
---|---|---|
|
@@ -21,6 +21,9 @@ jobs: | |
- name: Install dependencies | ||
run: pnpm install --frozen-lockfile | ||
|
||
- name: Setup build cache | ||
uses: rharkor/[email protected] | ||
|
||
- name: Build | ||
run: pnpm build | ||
|
||
|
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 |
---|---|---|
|
@@ -33,6 +33,9 @@ jobs: | |
- name: Install dependencies | ||
run: pnpm install --frozen-lockfile | ||
|
||
- name: Setup build cache | ||
uses: rharkor/[email protected] | ||
|
||
- name: Build | ||
if: ${{ inputs.cacheKey == '' }} | ||
run: pnpm build | ||
|
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 |
---|---|---|
|
@@ -49,6 +49,9 @@ jobs: | |
- name: Install dependencies | ||
run: pnpm install --frozen-lockfile | ||
|
||
- name: Setup build cache | ||
uses: rharkor/[email protected] | ||
|
||
- name: Build | ||
if: ${{ inputs.cacheKey == '' }} | ||
run: pnpm build | ||
|
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