From 5fe7751c60b12c6dc6c8366d3b55cb14b3c73b67 Mon Sep 17 00:00:00 2001 From: Sohab Sk Date: Fri, 22 Nov 2024 01:13:21 +0530 Subject: [PATCH] feat: github actions workflow added for linting (#122) * feat: github actions workflow added for linting * updated lint workflow --- .github/workflows/lint.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/lint.yml diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 00000000..44082d0d --- /dev/null +++ b/.github/workflows/lint.yml @@ -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 \ No newline at end of file