Skip to content

feat: 添加icon

feat: 添加icon #98

Workflow file for this run

name: Check Format
on: [push, pull_request]
jobs:
check-backend-format:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./backend
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
name: Setup Node.js 18.20
with:
node-version: '18.20'
check-latest: true
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: '3.10'
- name: Install dependencies
run: |
npm install
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Format
run: npm run format
- name: Check Format
run: git diff --exit-code
check-frontend-format:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./frontend
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
name: Setup Node.js 18.20
with:
node-version: '18.20'
check-latest: true
- name: Install dependencies
run: |
npm install
- name: Format
run: npm run format
- name: Check Format
run: git diff --exit-code