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