Skip to content

Prototype for optimization policy feature #6

Prototype for optimization policy feature

Prototype for optimization policy feature #6

Workflow file for this run

# This workflow will do a clean installation of node dependencies, cache/restore them, and build the UI code.
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
name: Build UI code
on:
workflow_dispatch:
push:
branches: [ "main" ]
paths:
- 'src/ui/**'
pull_request:
branches: [ "main" ]
paths:
- 'src/ui/**'
jobs:
angular:
name: Angular Build
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./src/ui
strategy:
matrix:
node-version: ["18.19.1"]
steps:
- name: Checkout the source code
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '18.19.1'
- name: Install dependencies
run: npm install
- name: Install rollup
run: npm install @rollup/rollup-linux-x64-gnu
- name: Build
run: npm run build