Skip to content

Commit

Permalink
Merge pull request #168 from syedsalman3753/develop
Browse files Browse the repository at this point in the history
[MOSIP-29143] Updated workflows with reusable templates
  • Loading branch information
ckm007 authored Sep 6, 2023
2 parents 84177ed + 3203c70 commit e10873f
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/push-trigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@ name: Pre-registration-ui build upon a push
on:
release:
types: [published]
pull_request:
types: [opened]
branches:
- '!release-branch'
- release-1*
- 1.*
- develop
- MOSIP*
push:
branches:
- '!release-branch'
Expand Down Expand Up @@ -32,6 +40,8 @@ jobs:
SERVICE_NAME: 'pre-registration-ui'
NPM_BUILD: true
BUILD_ARTIFACT: 'pre-registration-ui'
fail-fast: false
name: ${{ matrix.SERVICE_NAME }}
uses: mosip/kattu/.github/workflows/docker-build.yml@master
with:
SERVICE_LOCATION: ${{ matrix.SERVICE_LOCATION }}
Expand All @@ -46,6 +56,7 @@ jobs:

sonar-analysis:
needs: build-pre-registration-ui
if: "${{ github.event_name != 'pull_request' }}"
uses: mosip/kattu/.github/workflows/npm-sonar-analysis.yml@master
with:
SERVICE_LOCATION: pre-registration-ui
Expand Down

0 comments on commit e10873f

Please sign in to comment.