Skip to content

Commit

Permalink
ci: add prettier lint check workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ghoshRitesh12 committed Oct 29, 2024
1 parent 9ae824b commit ac07ce9
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/prettier-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: "Prettier Check"

on:
push:
branches: ["main"]
pull_request:
branches: ["main"]

jobs:
lint_check:
runs-on: ubuntu-latest

steps:
- name: Checkout repo
uses: actions/checkout@v4

- name: Setup NodeJS
uses: actions/setup-node@v4
with:
node-version: "22.x"

- name: Install deps
run: npm i

- name: Check lint
run: npm run lint:ci

0 comments on commit ac07ce9

Please sign in to comment.