Skip to content

downgrade UserReadService, inject into AdminUserController #217

downgrade UserReadService, inject into AdminUserController

downgrade UserReadService, inject into AdminUserController #217

name: build and test web-app
on:
workflow_dispatch:
workflow_call:
push:
paths:
- web-app/**
- .github/workflows/build_test.web-app.yaml
- .github/workflows/config.yaml
jobs:
config:
uses: ./.github/workflows/config.yaml
main:
name: build mage web app
needs: config
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
- name: setup node
uses: actions/setup-node@v3
with:
# TODO: angular 9 build does not run on node > 14
node-version: 14
cache: npm
cache-dependency-path: web-app/package-lock.json
- name: build
run: |
cd web-app
npm ci
npm run build
env:
NODE_OPTIONS: "--max_old_space_size=4096"
- name: test
run: npm run --prefix web-app ci:test
- name: pack
run: |
npm pack ./web-app/dist/core-lib
npm pack ./web-app/dist/app
- name: upload packages
uses: actions/upload-artifact@v3
with:
name: mage_web-app_packages
path: |
ngageoint-mage.*.tgz