Skip to content

add: bundled HTML to release #5

add: bundled HTML to release

add: bundled HTML to release #5

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
runs-on: macos-latest

Check failure on line 14 in .github/workflows/web-bundle.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/web-bundle.yml

Invalid workflow file

You have an error in your yaml syntax on line 14
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: |
cd viewer/web
npm ci
script -qec "inliner ..." /dev/null
npx inliner index.html > fsk-energymeter.html
- uses: actions/upload-artifact@v4
with:
name: html
path: viewer/web/fsk-energymeter.html