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