Skip to content

Updated the UI

Updated the UI #9

Workflow file for this run

name: Format Code
on:
push:
branches:
- main # Change this to your main branch name
jobs:
format_code:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.11
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install black
- name: Format Python Files
run: black .
- name: Install Node.js and npm
uses: actions/setup-node@v3
with:
node-version: '14'
- name: Install Prettier
run: npm install -g prettier
- name: Format HTML Files
run: prettier --write "**/*.html"
- name: Commit and Push Changes
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git add .
git commit -m "Auto-format code with Black and Prettier"
git push