[FE] 회원 행사 생성, 비회원 행사 생성 구현 #353
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: backend-pull-request | |
on: | |
pull_request: | |
branches: [ "main", "be-dev" ] | |
jobs: | |
build: | |
runs-on: [ ubuntu-latest ] | |
defaults: | |
run: | |
working-directory: ./server | |
steps: | |
- name: CheckOut | |
uses: actions/checkout@v4 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
- name: Setup Gradle | |
uses: gradle/actions/setup-gradle@417ae3ccd767c252f5661f1ace9f835f9654f2b5 # v3.1.0 | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
- name: Test with Gradle Wrapper | |
run: ./gradlew clean build | |
- name: publish unit test results | |
uses: EnricoMi/publish-unit-test-result-action@v2 | |
if: always() | |
with: | |
files: server/build/test-results/test/TEST-*.xml | |
- name: add comments to a pull request | |
uses: mikepenz/action-junit-report@v3 | |
if: always() | |
with: | |
report_paths: server/build/test-results/test/TEST-*.xml |