Skip to content

bug: raise timeouts for video processing #23

bug: raise timeouts for video processing

bug: raise timeouts for video processing #23

Workflow file for this run

name: Build
on:
pull_request:
types: [ opened, reopened, synchronize ]
push:
branches: [ main ]
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: '18.x'
registry-url: 'https://registry.npmjs.org'
- name: Install root dependencies
run: yarn install
- name: Install FFmpeg
run: |
sudo apt-get update
sudo apt-get install -y ffmpeg
- name: Build
run: yarn build
- name: Install dev dependencies
run: |
cd dev
yarn install
- name: Set up environment variables
run: |
cd dev
echo "DATABASE_URI=mongodb://127.0.0.1:27017/?directConnection=true&serverSelectionTimeoutMS=2000&appName=mongosh+2.3.0" >> .env
echo "PAYLOAD_PUBLIC_SERVER_URL=http://localhost:3000" >> .env
echo "PAYLOAD_SECRET=hellohereisasecretforyou" >> .env
- name: Run tests
run: |
cd dev
yarn test