Skip to content
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.

Merge pull request #85 from PSMRI/develop #2

Merge pull request #85 from PSMRI/develop

Merge pull request #85 from PSMRI/develop #2

Workflow file for this run

name: Static Code Analysis and Package Prod
on:
push:
branches: [ "master"]
jobs:
Package:
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Java
uses: actions/setup-java@v3
with:
java-version: '8'
distribution: 'adopt'
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: 16
- name: Build with NPM
run: |
npm config set legacy-peer-deps true
npm install -g @angular/cli
npm install --force
npm run build
- name: Create WAR file
run: npm run ng build --prod --aot && grunt
- name: Upload WAR file as artifact
uses: actions/upload-artifact@v2
with:
name: HWC-UI
path: target/hwc-app-facility.war