Skip to content

[TEST] user api 문서화 #4

[TEST] user api 문서화

[TEST] user api 문서화 #4

Workflow file for this run

name: Build and Merge PR
on:
pull_request:
types: [opened, synchronize]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17' # 사용할 JDK 버전
distribution: 'adopt'
- name: Build with Gradle
run: ./gradlew build # Gradle 빌드 실행
- name: Run tests
run: ./gradlew test # 테스트 실행
merge:
runs-on: ubuntu-latest
needs: build
if: success() # 빌드가 성공했을 때만 실행
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Merge PR
run: |
git checkout main
git merge dev --no-ff --no-edit
git push origin main