Skip to content

[feat] 북마크 url로 북마크 정보 크롤링하는 API res 변경 #221

[feat] 북마크 url로 북마크 정보 크롤링하는 API res 변경

[feat] 북마크 url로 북마크 정보 크롤링하는 API res 변경 #221

Workflow file for this run

name: Test
on:
pull_request:
branches:
- develop
permissions:
contents: write
checks: write
id-token: write
actions: write
issues: write
pull-requests: write
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v1
with:
java-version: 17
- name: Create firebase config key
run: |
cd ./pickly-service/src/main/resources
echo "${{ secrets.FIREBASE_CONFIG }}" > ./firebase.json
shell: bash
- name: Create extension encrypt key
run: |
cd ./pickly-service/src/main/resources
echo "${{ secrets.ET_KEY }}" > ./extension.json
shell: bash
- name: Cache Gradle
uses: actions/cache@v2
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build Gradle wrapper
run: gradle wrap
- name: Build with Gradle
run: ./gradlew clean build test
shell: bash
- name: Publish Unit Test Results
uses: EnricoMi/publish-unit-test-result-action@v2
if: always()
with:
files: '**/build/test-results/test/TEST-*.xml'
- name: Add comments to a pull request
uses: mikepenz/action-junit-report@v3
if: always()
with:
report_paths: '**/build/test-results/test/TEST-*.xml'
token: ${{ github.token }}
- name: Cleanup Gradle Cache
# Remove some files from the Gradle cache, so they aren't cached by GitHub Actions.
# Restoring these files from a GitHub Actions cache might cause problems for future builds.
if: ${{ always() }}
run: |
rm -f ~/.gradle/caches/modules-2/modules-2.lock
rm -f ~/.gradle/caches/modules-2/gc.properties