Skip to content

.github/workflows/deploy.yml#19

Open
adams181 wants to merge 3 commits intoBot-hostin:mainfrom
adams181:main
Open

.github/workflows/deploy.yml#19
adams181 wants to merge 3 commits intoBot-hostin:mainfrom
adams181:main

Conversation

@adams181
Copy link

name: Node.js CI

on:
push:
branches:
- main
pull_request:
branches:
- main
schedule:
- cron: '0 */6 * * *'

jobs:
build:

runs-on: ubuntu-latest

strategy:
  matrix:
    node-version: [20.x]

steps:
- name: Checkout repository
  uses: actions/checkout@v3

- name: Set up Node.js
  uses: actions/setup-node@v3
  with:
    node-version: ${{ matrix.node-version }}

- name: Install dependencies
  run: npm install

- name: Install FFmpeg
  run: sudo apt-get install -y ffmpeg

- name: Start application with timeout
  run: |
    timeout 21590s npm start  # Limits run to 5h 59m 50s

- name: Save state (Optional)
  run: |
    ./save_state.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant