Skip to content

Build .war and npm files #239

Build .war and npm files

Build .war and npm files #239

Workflow file for this run

name: Build .war and npm files
on:
workflow_dispatch:
inputs:
TAG:
required: true
type: string
description: Additional tag to apply to images being built
default: latest
jobs:
build-underwriting-api:
uses: ./.github/workflows/build-package.yml
secrets: inherit
with:
TAG: ${{ inputs.tag }}
ENVIRONMENT: DEV
MICROSERVICE_NAME: cirras-underwriting-api
JAVA_VERSION: 17
build-and-upload-npm-modules:
uses: ./.github/workflows/build-npm.yml
secrets: inherit
needs: build-underwriting-api
with:
ENVIRONMENT: DEV
MICROSERVICE_NAME: cirras-underwriting-ngclient-lib
API_TARGET: cirras-underwriting-api
SWAGGER_TARGET_PATH: cirras-underwriting-ngclient-lib/cirras-underwriting-ngclient-lib/src/main/angular/src/swagger/swagger.json
NPM_ARTIFACT_PATH: \@cirras/cirras-underwriting-api/-/@cirras
build-underwriting-war:
uses: ./.github/workflows/build-package.yml
secrets: inherit
needs: build-and-upload-npm-modules
with:
TAG: ${{ inputs.tag }}
ENVIRONMENT: DEV
MICROSERVICE_NAME: cirras-underwriting-war