feat: added test formatting workflow

This commit is contained in:
ChiragAgg5k
2025-02-13 14:08:26 +05:30
parent 4d62d3bcc7
commit 9f12a849f8

24
.github/workflows/format.yml vendored Normal file
View File

@@ -0,0 +1,24 @@
name: Format
on:
pull_request_target:
branches: ['**']
jobs:
format:
name: Format
runs-on: ubuntu-latest
steps:
- name: Checkout the repo
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install dependencies
run: npm install
- name: Format
run: npm run format