This repository was archived by the owner on Dec 7, 2024. It is now read-only.
🔀 동아리 생성 시 동아리원 선택 이미지 오류 #457
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: GCMS-CI | |
on: | |
pull_request: | |
branches: | |
- 'develop' | |
- 'master' | |
jobs: | |
GCMS-CI: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.x] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'yarn' | |
- run: yarn install --frozen-lockfile | |
- run: yarn build | |
- run: yarn test | |
- name: Success notification to discord | |
uses: sarisia/[email protected] | |
if: ${{ success() }} | |
with: | |
webhook: ${{ secrets.WEBHOOK }} | |
title: "GCMS CI successfully" | |
description: "CI success" | |
content: "success!!!\n<@${{ secrets.DISCORD_ID1 }}> <@${{ secrets.DISCORD_ID2 }}> <@${{ secrets.DISCORD_ID3 }}> <@${{ secrets.DISCORD_ID4 }}>pr check" | |
username: GCMS CI bot | |
url: "https://github.com/GSM-MSG/GCMS-FrontEnd-V2" | |
color: 4CAF50 | |
avatar_url: ${{ secrets.AVATAR_URL }} | |
- name: Failure notification to discord | |
uses: sarisia/[email protected] | |
if: ${{ failure() }} | |
with: | |
webhook: ${{ secrets.WEBHOOK }} | |
title: "GCMS CI failed" | |
description: "CI failed" | |
content: "ㅆㅂ..." | |
username: GCMS CI bot | |
url: "https://github.com/GSM-MSG/GCMS-FrontEnd-V2" | |
color: e74c3c | |
avatar_url: ${{ secrets.AVATAR_URL }} | |