name: Render video on: push: branches: ["main"] pull_request: branches: ["main"] jobs: render: name: Render video runs-on: ubuntu-latest steps: - uses: actions/checkout@main - uses: actions/setup-node@main - run: apt update - run: apt install ffmpeg yarn -y - run: yarn - run: yarn build" - uses: actions/upload-artifact@v2 with: name: out.mp4 path: out/video.mp4