Skip to content

🎥 Make videos programmatically with React

tweak cache

Jonny Burgerc62800e3900e
diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml
index 5145692876..57c9c16b1d 100644
--- a/.github/workflows/push.yml
+++ b/.github/workflows/push.yml
@@ -48,7 +48,9 @@ jobs:
packages/*/dist
packages/*/tsconfig.tsbuildinfo
packages/*/.turbo
- node_modules/.cache
+ packages/docs/node_modules/.cache
+ packages/example/node_modules/.cache
+ packages/google-fonts/.cache-css
key: ts-${{ runner.os }}-node16-v3
- name: build
run: |
@@ -100,17 +102,25 @@ jobs:
- name: Build cache
uses: actions/[email protected]
with:
- # Disbled but would like to enable:
path: |
tsconfig.tsbuildinfo
packages/*/dist
packages/*/tsconfig.tsbuildinfo
packages/*/.turbo
- node_modules/.cache
+ packages/docs/node_modules/.cache
+ packages/example/node_modules/.cache
+ packages/google-fonts/.cache-css
key: ts-${{ runner.os }}-node16-v3
- uses: Swatinem/rust-cache@v2
with:
workspaces: "packages/renderer -> target"
+ - name: Build cache
+ uses: actions/[email protected]
+ with:
+ path: |
+ packages/google-fonts/.cache-css
+ key: ssr-${{ runner.os }}-node16-v3
+
- name: build
run: |
pnpm build
@@ -211,7 +221,9 @@ jobs:
packages/*/dist
packages/*/tsconfig.tsbuildinfo
packages/*/.turbo
- node_modules/.cache
+ packages/google-fonts/.cache-css
+ packages/docs/node_modules/.cache
+ packages/example/node_modules/.cache
key: ts-${{ runner.os }}-node${{ matrix.node_version }}-v3
- name: Build & Test