Skip to content

Commit

Permalink
Create deploy.yml1
Browse files Browse the repository at this point in the history
  • Loading branch information
Renekama10 authored Oct 29, 2024
1 parent 976df8c commit 141a4ed
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/deploy.yml1
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
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 dependencies
run: |
npm install -g pm2
npm install

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

0 comments on commit 141a4ed

Please sign in to comment.