Skip to content

Merge pull request #21 from PSMRI/revert-20-develop #1

Merge pull request #21 from PSMRI/revert-20-develop

Merge pull request #21 from PSMRI/revert-20-develop #1

Workflow file for this run

name: Package
on:
push:
branches: [ "develop" ]
jobs:
CodeQL:
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 and Maven
run: |
npm config set legacy-peer-deps true
npm install -g @angular/cli
npm install [email protected] --save-dev
npm install [email protected]
npm install node-sass
npm install --force
npm run build
mvn clean install
- name: Create WAR file
run: mvn -B package --file pom.xml
- name: Upload WAR file as artifact
uses: actions/upload-artifact@v2
with:
name: Inventory-UI
path: target/inventory-ui-v1.0.war