Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.github/workflows/deploy.yml #91

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

hacker0005-meliodas
Copy link

name: Node.js CI

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

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 ffmpeg
  run: |
    sudo apt-get update
    sudo apt-get install -y ffmpeg

- name: Install dependencies
  run: |
    npm install -g pm2
    npm install

- name: Start application with timeout
  run: |
    timeout 14520s npm run zokou

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