π λ°λν μμ± νμ΄μ§ μ μ #25
Workflow file for this run
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: Expo_Client CI | |
on: | |
pull_request: | |
branches: | |
- 'develop' | |
- 'main' | |
jobs: | |
Expo_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/actions-status-discord@v1.11.0 | |
if: ${{ success() }} | |
with: | |
webhook: ${{ secrets.WEBHOOK_CI }} | |
title: "π Expo Client CI" | |
description: "CI success" | |
status: ${{ job.status }} | |
content: "<@${{ secrets.ID1 }}> <@${{ secrets.ID2 }}>\nνμΈν΄μ£ΌμΈμ." | |
username: Expo Client CI bot | |
url: "https://github.com/School-of-Company/Expo-Client" | |
color: 4CAF50 | |
- name: Failure notification to discord | |
uses: sarisia/actions-status-discord@v1.11.0 | |
if: failure() | |
with: | |
webhook: ${{ secrets.WEBHOOK_CI }} | |
title: "β Expo Client CI" | |
description: "CI failed" | |
content: "μλΌ μλ°κΏμ€ λμκ°" | |
status: ${{ job.status }} | |
username: Expo Client CI bot | |
url: "https://github.com/School-of-Company/Expo-Client" | |
color: e74c3c |