Skip to content

CI Pipeline for @refs/pull/30/merge #39

CI Pipeline for @refs/pull/30/merge

CI Pipeline for @refs/pull/30/merge #39

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