Skip to content

feat(feed): 피드 신고기능 추가 및 케밥메뉴 변경 #76

feat(feed): 피드 신고기능 추가 및 케밥메뉴 변경

feat(feed): 피드 신고기능 추가 및 케밥메뉴 변경 #76

Workflow file for this run

name: Pull Request Service
on:
pull_request:
paths:
- "services/**"
jobs:
get-diff-workspace:
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
- name: Check Out The Repository
uses: actions/checkout@v3
with:
fetch-depth: '2'
token: ${{ secrets.GHP_TOKEN }}
- name: diff-workspace
id: set-matrix
run: echo "::set-output name=matrix::{\"workspaces\":[$(yarn changed list --git-range $(git rev-parse HEAD^) --json --exclude xquare-frontend --exclude @shared/xbridge | tr "\n" ",")]}"
build:
runs-on: ubuntu-latest
needs: get-diff-workspace
strategy:
matrix: ${{ fromJson(needs.get-diff-workspace.outputs.matrix) }}
steps:
- name: Check Out The Repository
uses: actions/checkout@v3
with:
token: ${{ secrets.GHP_TOKEN }}
- name: Get Service
id: get_service
run: echo ::set-output name=SERVICE::$(echo ${{ matrix.workspaces.name }} | cut -d / -f 2)
- name: Docker Build
run: yarn docker build @service/${{steps.get_service.outputs.SERVICE}}