forked from remotion-dev/remotion
-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (44 loc) · 1.45 KB
/
push.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
on: [push, pull_request]
name: Install and Test
jobs:
build:
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != 'JonnyBurger/remotion'
name: Build Node ${{ matrix.node_version }} - ffmpeg ${{ matrix.ffmpeg_version }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: ubuntu-latest
node_version: 14
ffmpeg_version: 4.4
- os: windows-latest
node_version: 14
ffmpeg_version: 4.4
- os: macos-latest
node_version: 14
ffmpeg_version: 4.4
- os: ubuntu-latest
node_version: 12
ffmpeg_version: 4.4
- os: ubuntu-latest
node_version: 16
ffmpeg_version: 4.4
- os: ubuntu-latest
node_version: 14
ffmpeg_version: 4.1
steps:
- uses: actions/checkout@main
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node_version }}
- uses: Iamshankhadeep/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
version: ${{ matrix.versionffmpeg_version }}
- run: npm i
- run: npx lerna bootstrap --ci --concurrency=2
- run: npm run build
# We need to call bootstrap again to link the CLI
# binary to allow `npx remotion`
- run: npx lerna bootstrap --ci --concurrency=2
- run: npm test