From d72048f7638122d12586531397e38028b60b69e7 Mon Sep 17 00:00:00 2001 From: Krunal Shah Date: Sun, 7 Apr 2024 17:26:56 +0530 Subject: [PATCH] feat: setup linting workflow action --- .github/workflows/lint.yml | 19 +++++++++++++++++++ 1 file changed, 19 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 0000000..2877561 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,19 @@ +name: Lint + +on: + push: + branches: [main] + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: 20 + - uses: pnpm/action-setup@v3 + - name: Install dependencies + run: pnpm install + - name: Lint + run: pnpm lint