Skip to content

Merge pull request #55 from cd-sigma/main #8

Merge pull request #55 from cd-sigma/main

Merge pull request #55 from cd-sigma/main #8

name: finsafe.backend.js
on:
push:
branches: [ live ]
paths:
- '**'
jobs:
build:
runs-on: [ self-hosted,finsafe-backend ]
strategy:
matrix:
node-version: [ 16.x ]
steps:
- uses: actions/checkout@v4
with:
ref: live
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
cache-dependency-path: backend/package-lock.json
- run: npm i
working-directory: ./backend
- run: pm2 restart api
working-directory: ./backend