Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/copilot-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ The **package name** for each folder is `@remotion/[folder-name]`, except for th

## Build instructions

- `pnpm` is the package manager for the project.
- `bun` is the package manager for the project.
- To build the project after you made changes, run `bunx turbo make --filter="[package-name]"` and only include the package you are working on. Refer to package naming convention above. For example, the command to build the package in `packages/shapes` is `bunx turbo make --filter="@remotion/shapes"`.
- After making code changes, run `bunx prettier --experimental-cli src --write` to format the code. Do not run the formatted on the docs.

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- uses: oven-sh/setup-bun@v2.0.1
- uses: oven-sh/setup-bun@v2.0.2
with:
bun-version: 1.1.9
bun-version: 1.3.0
- name: Push changelog
env:
DISCORD_TOKEN: ${{ secrets.DISCORD_TOKEN }}
Expand Down
12 changes: 4 additions & 8 deletions .github/workflows/copilot-setup-steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,13 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
with:
version: "8.10.2"
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: "pnpm"
- uses: oven-sh/setup-bun@v2.0.1
- uses: oven-sh/setup-bun@v2.0.2
with:
bun-version: 1.2.10
bun-version: 1.3.0
- name: Cache turbo build setup
uses: actions/cache@v4
with:
Expand All @@ -35,6 +31,6 @@ jobs:
restore-keys: |
${{ runner.os }}-turbo-
- name: Install
run: pnpm i --frozen-lockfile
run: bun i
- name: Build
run: pnpm run build
run: bun run build
97 changes: 19 additions & 78 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,28 +15,17 @@ jobs:
name: Lambda integration
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
with:
version: "8.10.2"
- uses: actions/setup-node@v4
with:
node-version: 20
cache: "pnpm"
- uses: oven-sh/setup-bun@v2.0.1
- uses: oven-sh/setup-bun@v2.0.2
with:
bun-version: 1.2.10
bun-version: 1.3.0
- name: Install
run: pnpm i --frozen-lockfile
- name: Cache turbo build setup
uses: actions/cache@v4
with:
path: .turbo
key: ${{ runner.os }}-turbo-${{ github.sha }}
restore-keys: |
${{ runner.os }}-turbo-
run: bun i
- name: Test Lambda IT
run: |
pnpm run testlambda
bun run testlambda
- name: IT tests
timeout-minutes: 10
run: |
Expand All @@ -50,25 +39,14 @@ jobs:
name: Webcodecs tests
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
with:
version: "8.10.2"
- uses: actions/setup-node@v4
with:
node-version: 20
cache: "pnpm"
- uses: oven-sh/setup-bun@v2.0.1
- uses: oven-sh/setup-bun@v2.0.2
with:
bun-version: 1.2.10
bun-version: 1.3.0
- name: Install
run: pnpm i --frozen-lockfile
- name: Cache turbo build setup
uses: actions/cache@v4
with:
path: .turbo
key: ${{ runner.os }}-turbo-${{ github.sha }}
restore-keys: |
${{ runner.os }}-turbo-
run: bun i
- name: Install deps
run: cd packages/webcodecs && bunx playwright install --with-deps
- name: Test Webcodecs
Expand All @@ -79,24 +57,14 @@ jobs:
name: SSR integration
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
with:
version: "8.10.2"
- name: Cache turbo build setup
uses: actions/cache/restore@v4
with:
path: .turbo
key: |
${{ runner.os }}-turbo-
- uses: actions/setup-node@v4
with:
node-version: 16
cache: "pnpm"
- uses: oven-sh/setup-bun@v2.0.1
- uses: oven-sh/setup-bun@v2.0.2
with:
bun-version: 1.2.10
bun-version: 1.3.0
- name: Install
run: pnpm i --frozen-lockfile
run: bun i
- name: Setup Python
uses: actions/setup-python@v4
with:
Expand All @@ -109,45 +77,29 @@ jobs:
with:
php-version: "8.4"
- run: pip install pylint boto3 pytest
- name: Turbo Cache
uses: actions/cache@v4
with:
path: |
node_modules/.cache/turbo
key: ts-${{ runner.os }}-node16-v3
- name: Test SSR
timeout-minutes: 8
run: |
pnpm run testssr
bun run testssr
lint:
runs-on: ubuntu-latest
name: Linting + Formatting
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
with:
version: "8.10.2"
- name: Cache turbo build setup
uses: actions/cache/restore@v4
with:
path: .turbo
key: |
${{ runner.os }}-turbo-
- uses: actions/setup-node@v4
with:
node-version: 20
cache: "pnpm"
- uses: oven-sh/setup-bun@v2.0.1
- uses: oven-sh/setup-bun@v2.0.2
with:
bun-version: 1.2.10
bun-version: 1.3.0
- name: Install
run: pnpm i --frozen-lockfile
run: bun i
env:
CI: true
- name: Perform stylecheck
timeout-minutes: 10
run: |
pnpm run stylecheck
bun run stylecheck
build:
name: Build Node ${{ matrix.node_version }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
Expand All @@ -165,26 +117,15 @@ jobs:
node_version: 20.5
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
with:
version: "8.10.2"
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node_version }}
cache: "pnpm"
- name: Cache turbo build setup
uses: actions/cache@v4
with:
path: .turbo
key: ${{ runner.os }}-turbo-${{ github.sha }}
restore-keys: |
${{ runner.os }}-turbo-
- uses: oven-sh/setup-bun@v2.0.1
- uses: oven-sh/setup-bun@v2.0.2
with:
bun-version: 1.2.10
bun-version: 1.3.0
- name: Install
run: pnpm i --frozen-lockfile
run: bun i
- name: Build & Test
timeout-minutes: 30
run: |
pnpm run ci
bun run ci
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ coverage
.cache
packages/example/out
.env
.pnpm-debug.log
.vscode/taskmarks.json
.turbo
.vercel
Expand Down
Loading
Loading