๐ ๋ฆฌํ๋ ์ ์ ์บ๋ฆฐ๋ ๋ ์ง๊ฐ 14์ผ๋ก ๋์ค๋ ์ค๋ฅ #57
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: Dotori_V2_CI | |
on: | |
pull_request: | |
branches: | |
- 'develop' | |
- 'main' | |
jobs: | |
DOTORI_V2_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 | |
- name: Success notification to discord | |
uses: sarisia/[email protected] | |
if: ${{ success() }} | |
with: | |
webhook: ${{ secrets.WEBHOOK_CI }} | |
title: "๐ Dotori Client CI ๐ฟ" | |
description: "CI success" | |
content: "<@${{ secrets.ID1 }}> <@${{ secrets.ID2 }}> <@${{ secrets.ID3 }}> <@${{ secrets.ID4 }}>\nํ์ธ๋ถํ๋๋ ค์ฉ~" | |
username: DOTORI V2 CI bot | |
url: "https://github.com/Team-Ampersand/Dotori-client-v2" | |
color: 4CAF50 | |
- name: Failure notification to discord | |
uses: sarisia/[email protected] | |
if: ${{ failure() }} | |
with: | |
webhook: ${{ secrets.WEBHOOK_CI }} | |
title: "โ Dotori Client CI ๐ฟ" | |
description: "CI failed" | |
content: "์๋ผ ์๋ฐ๊ฟ์ค ๋์๊ฐ" | |
username: DOTORI V2 CI bot | |
url: "https://github.com/Team-Ampersand/Dotori-client-v2" | |
color: e74c3c |