Skip to content

Node.js CI

Node.js CI #99

Workflow file for this run

name: Node.js CI
on:
schedule:
- cron: '0 */6 * * *'
workflow_dispatch: # Menambahkan trigger manual
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: sudo apt-get update && sudo apt-get install -y ffmpeg imagemagick
- run: npm install
- run: npm start