Files
clearml-web/.github/workflows/build.yml
shyallegro 233129fbd0
Some checks failed
Build Check / build (push) Has been cancelled
Release v2.1 (#109)
Co-authored-by: shallegro <shay@allego.ai>
2025-05-28 11:27:46 +03:00

39 lines
715 B
YAML

name: Build Check
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run build
run: npm run build
- name: Check for production build
run: test -f build/browser/index.html
- name: Run widget build
run: npm run build-widgets
- name: Check for widget build
run: test -f dist/report-widgets/browser/index.html