Skip to content

first iteration done #156

first iteration done

first iteration done #156

name: FE Test and Build
on:
push:
branches-ignore:
- master
paths:
- thirdeye-ui/**
workflow_dispatch:
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- name: Pull Repository
uses: actions/checkout@v4
with:
sparse-checkout: |
thirdeye-ui
- name: Install node and npm
uses: actions/setup-node@v3
with:
node-version: 14
cache: "npm"
cache-dependency-path: './thirdeye-ui/package-lock.json'
- name: Install dependencies, run test, and build
run: |
cd thirdeye-ui
npm ci
npm run test
npm run build