Files
lnreader-plugins/.github/workflows/prettier.yml
T
Rajarshee Chatterjee 851330a52e refactor: Update Build Scripts And Workflows (#1848)
* refactor: Update Build Scripts And Workflows

* chore: Update Prettier Workflow

* chore: Update Publish Plugins Workflow

* chore: Update Prettier Workflow

* chore: Update Workflows

* chore: Update Workflows

* chore: Update Prettier Workflow

* chore: Update Prettier Workflow
2025-10-20 14:54:12 +05:30

34 lines
687 B
YAML

name: Format Check
on:
pull_request:
branches: [master]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
format-check:
name: Check Code Formatting
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install Prettier
run: |
rm package.json
rm package-lock.json
npm init -y
npm install prettier@3.2.5
- name: Check Code Formatting
run: npx prettier --check "./src/**/*.{ts,tsx,js,css}"