Skip to content

add: bundled HTML to release #1

add: bundled HTML to release

add: bundled HTML to release #1

Workflow file for this run

name: Build bundled HTML
on:
push:
paths:
- 'viewer/web/**'
workflow_call:
workflow_dispatch:
jobs:
build-html:
name: Build html
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
cache-dependency-path: viewer/native/package-lock.json
- run: |
sudo apt-get update
cd viewer/web
npm ci
npx inliner index.html > fsk-energymeter.html
- uses: actions/upload-artifact@v4
with:
name: html
path: viewer/web/fsk-energymeter.html