immersive2/.github/workflows/build.yml
Michael Mainguy 33019c116b
Some checks are pending
Node.js CI / build (push) Waiting to run
Build / build (push) Successful in 2m19s
change server start.
2025-12-30 07:11:36 -06:00

28 lines
543 B
YAML

name: Build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: linux_amd64
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install dependencies
run: npm ci
- name: Build Front End
run: npm run build
env:
NODE_OPTIONS: '--max-old-space-size=4096'
- name: Restart Server
run: |
# Start server in background with nohup
nohup npm run start > /tmp/immersive.log 2>&1 &