Skip to content

UI Refact

UI Refact #132

Workflow file for this run

name: "CI (Client)"
on:
pull_request:
branches:
- main
types:
- opened
- synchronize
- reopened
push:
branches:
- main
workflow_dispatch:
env:
CI: ''
jobs:
ci:
name: Build on Node
runs-on: ubuntu-latest
continue-on-error: true
strategy:
matrix:
node: [ 18 ] # TODO: Add 14, 16
steps:
- name: checkout@v4
uses: actions/checkout@v4
- name: Use Node ${{ matrix.node }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Cache node modules
id: cache-npm
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Install and Build
run: |
npm install
npm run build
working-directory: cassdio-web/src/main/webapp