Skip to content

Commit

Permalink
feat: github actions workflow added for linting (#122)
Browse files Browse the repository at this point in the history
* feat: github actions workflow added for linting

* updated lint workflow
  • Loading branch information
ITZSHOAIB authored Nov 21, 2024
1 parent 5544960 commit 5fe7751
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Lint

on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]

jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Setup PNPM
run: corepack enable && pnpm -v

- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18.19.0
cache: pnpm

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Lint
run: pnpm lint

0 comments on commit 5fe7751

Please sign in to comment.