mirror of
https://github.com/clearml/clearml-web
synced 2025-01-30 22:17:22 +00:00
946d6ec9ae
Co-authored-by: shallegro <shay@allego.ai>
33 lines
550 B
YAML
33 lines
550 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
|