Skip to content

๐Ÿ”€ ์บ˜๋ฆฐ๋” ์ปดํฌ๋„ŒํŠธ ์ œ์ž‘ #18

๐Ÿ”€ ์บ˜๋ฆฐ๋” ์ปดํฌ๋„ŒํŠธ ์ œ์ž‘

๐Ÿ”€ ์บ˜๋ฆฐ๋” ์ปดํฌ๋„ŒํŠธ ์ œ์ž‘ #18

Workflow file for this run

name: Squirrel_Client CI
on:
pull_request:
branches:
- 'develop'
- 'main'
jobs:
Squirrel_Client_CI:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install dependencies
run: npm install
- name: Run Next.js build
run: npm run build
- name: Success Discord Notification
uses: sarisia/[email protected]
if: ${{ success() }}
with:
webhook: ${{ secrets.WEBHOOK_CI }}
title: "๐ŸŽ‰ Squirrel Client CI"
description: "CI success"
status: ${{ job.status }}
content: "CI ์„ฑ๊ณต"
username: Squirrel Client CI bot
url: "https://github.com/Team-Ampersand/Squirrel-client"
color: 4CAF50
- name: Failure notification to discord
uses: sarisia/[email protected]
if: failure()
with:
webhook: ${{ secrets.WEBHOOK_CI }}
title: "โŒ Squirrel Client CI"
description: "CI failed"
content: "์•ˆ๋ผ ์•ˆ๋ฐ”๊ฟ”์ค˜ ๋Œ์•„๊ฐ€"
status: ${{ job.status }}
username: Squirrel Client CI bot
url: "https://github.com/Team-Ampersand/Squirrel-client"
color: e74c3c