🎥 Make videos programmatically with React
smarter turborepo cachgin
Jonny Burger1eb3accaadc1
diff --git a/.github/workflows/push.yml b/.github/workflows/push.ymlindex 40a7bf06e3..9b4c48871f 100644--- a/.github/workflows/push.yml+++ b/.github/workflows/push.yml@@ -15,44 +15,20 @@ jobs:name: Lambda integrationsteps:- uses: actions/checkout@main- - uses: actions/setup-node@v3+ - uses: actions/setup-node@v4with:node-version: 16+ cache: "pnpm"- uses: oven-sh/setup-bun@v1with:bun-version: 1.1.20- run: |corepack enable- - name: Get pnpm store directory- id: pnpm-cache- shell: bash- run: |- echo "PNPM_STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT- - uses: actions/cache@v3- name: Setup pnpm cache- with:- path: ${{ steps.pnpm-cache.outputs.PNPM_STORE_PATH }}- key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}- restore-keys: |- ${{ runner.os }}-pnpm-store-- uses: Swatinem/rust-cache@v2with:workspaces: "packages/renderer -> target"- name: Install- run: pnpm install --frozen-lockfile- - name: Build cache- uses: actions/[email protected]- with:- # Currently disabled but would love to enable:- path: |- tsconfig.tsbuildinfo- packages/*/dist- packages/*/tsconfig.tsbuildinfo- packages/*/.turbo- packages/docs/node_modules/.cache- packages/example/node_modules/.cache- packages/google-fonts/.cache-css- key: ts-${{ runner.os }}-node16-v3+ run: pnpm i- name: buildrun: |pnpm build@@ -67,61 +43,33 @@ jobs:name: SSR integrationsteps:- uses: actions/checkout@main- - uses: actions/setup-node@v3+ - uses: actions/setup-node@v4with:node-version: 16+ cache: "pnp"- uses: oven-sh/setup-bun@v1with:bun-version: 1.1.20- run: |corepack enable- - name: Get pnpm store directory- id: pnpm-cache- shell: bash- run: |- echo "PNPM_STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT- - uses: actions/cache@v3- name: Setup pnpm cache- with:- path: ${{ steps.pnpm-cache.outputs.PNPM_STORE_PATH }}- key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}- restore-keys: |- ${{ runner.os }}-pnpm-store-- name: Install- run: pnpm install --frozen-lockfile+ run: pnpm i- name: Setup Pythonuses: actions/setup-python@v4with:python-version: "3.11"-- name: Setup PHP with PHPUnituses: shivammathur/setup-php@v2with:php-version: "8.3"tools: phpunit:10.1.3- run: pip install pylint boto3 pytest- - name: Build cache+ - name: Turbo Cacheuses: actions/[email protected]with:path: |- tsconfig.tsbuildinfo- packages/*/dist- packages/*/tsconfig.tsbuildinfo- packages/*/.turbo- packages/docs/node_modules/.cache- packages/example/node_modules/.cache- packages/google-fonts/.cache-css+ node_modules/.cache/turbokey: 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: buildrun: |pnpm build@@ -137,25 +85,14 @@ jobs:- uses: actions/setup-node@v3with:node-version: 16+ cache: "pnpm"- uses: oven-sh/setup-bun@v1with:bun-version: 1.1.20- run: |corepack enable- - name: Get pnpm store directory- id: pnpm-cache- shell: bash- run: |- echo "PNPM_STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT- - uses: actions/cache@v3- name: Setup pnpm cache- with:- path: ${{ steps.pnpm-cache.outputs.PNPM_STORE_PATH }}- key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}- restore-keys: |- ${{ runner.os }}-pnpm-store-- name: Install- run: pnpm install --frozen-lockfile+ run: pnpm i- name: Perform stylechecktimeout-minutes: 5run: |@@ -183,50 +120,20 @@ jobs:if: matrix.os == 'macos-14'with:go-version: "1.20"- - uses: actions/setup-node@v3+ - uses: actions/setup-node@v4with:node-version: ${{ matrix.node_version }}+ cache: "pnpm"- uses: oven-sh/setup-bun@v1with:bun-version: 1.1.20- run: |corepack enable- - name: Get pnpm store directory- id: pnpm-cache- shell: bash- run: |- echo "PNPM_STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT- - uses: actions/cache@v3- name: Setup pnpm cache- with:- path: ${{ steps.pnpm-cache.outputs.PNPM_STORE_PATH }}- key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}- restore-keys: |- ${{ runner.os }}-pnpm-store--- - name: Cache node_modules/.cache- uses: actions/[email protected]- with:- path: node_modules/.cache- key: deps-${{ runner.os }}-node${{ matrix.node_version }}-v3- uses: Swatinem/rust-cache@v2with:workspaces: "packages/renderer -> target"- name: Install- run: pnpm install --frozen-lockfile- - name: Build cache- uses: actions/[email protected]- with:- path: |- tsconfig.tsbuildinfo- packages/*/dist- packages/*/tsconfig.tsbuildinfo- packages/*/.turbo- packages/google-fonts/.cache-css- packages/docs/node_modules/.cache- packages/example/node_modules/.cache- key: ts-${{ runner.os }}-node${{ matrix.node_version }}-v3-+ run: pnpm i- name: Build & Testrun: |pnpm run ci