32 lines
612 B
YAML
32 lines
612 B
YAML
name: CI & Build NaxOS Web Dashboard
|
|
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
pull_request:
|
|
branches: [ main ]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout Repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 22
|
|
|
|
- name: Install Dependencies
|
|
run: npm ci || npm install
|
|
|
|
- name: Build Dashboard SPA
|
|
run: npm run build
|
|
|
|
- name: Upload UI Assets
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: naxos-ui-dist
|
|
path: dist/
|