Skip to content

Merge pull request #3 from OSDG-IIITH/dockerize #2

Merge pull request #3 from OSDG-IIITH/dockerize

Merge pull request #3 from OSDG-IIITH/dockerize #2

Workflow file for this run

name: Auto Formatting
on:
push:
branches:
- main
workflow_dispatch:
jobs:
formatting:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install Prettier
run: |
cd frontend
npm install --global prettier
- name: Format with Prettier
run: |
cd frontend
prettier --write "**/*.{js,jsx,md,mdx,css,yaml}"
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Apply Prettier Formatting Fixes