[FE] 리뷰 작성, 상세 리뷰 보기 페이지에 백엔드 API 연동 및 dotenv-webpack 설치, BASE_URL을 .env로 이동 #12
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: Build test with Gradle | |
on: | |
push: | |
branches: | |
- develop | |
paths: | |
- 'backend/**' | |
pull_request: | |
branches: | |
- develop | |
jobs: | |
build: | |
permissions: | |
contents: read | |
issues: read | |
checks: write | |
pull-requests: write | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout to current repository | |
uses: actions/checkout@v4 | |
- name: Setup JDK Corretto using cached gradle dependencies | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'corretto' | |
java-version: 17 | |
cache: 'gradle' | |
- name: Setup Gradle | |
uses: gradle/actions/setup-gradle@v3 | |
with: | |
gradle-version: 8.8 | |
- name: Build and test with gradle | |
run: | | |
cd ./backend | |
./gradlew test | |
- name: Publish test results | |
uses: EnricoMi/publish-unit-test-result-action@v2 | |
if: always() | |
with: | |
files: | | |
./backend/build/test-results/**/*.xml |