🔀 1차 api 변경 (tanstack query로 변경) #85
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 |