Skip to content

CI Pipeline for @refs/pull/40/merge #54

CI Pipeline for @refs/pull/40/merge

CI Pipeline for @refs/pull/40/merge #54

name: Continuous Integration
run-name: CI Pipeline for @${{ github.ref }}
concurrency: CI-${{ github.ref }}
on:
pull_request:
branches:
- staging
- dev
jobs:
build-test:
name: Build and Test
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup JDK 21
uses: actions/setup-java@v4
with:
distribution: 'corretto'
java-version: 21
- name: Test the application
run: mvn -B test --file pom.xml
- name: Build the application
run: |
mvn clean
mvn -B package --file pom.xml