From 74c3930e0a5ed264f330bc32c27116ead1063c5d Mon Sep 17 00:00:00 2001 From: Ven Date: Thu, 6 Oct 2022 00:42:58 +0200 Subject: add eslint config (#53) * eslint * workflow * lint main --- .github/workflows/lint.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/lint.yml (limited to '.github/workflows/lint.yml') diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..715e59b --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,22 @@ +name: lint +on: + push: + branches: + - main + pull_request: + branches: + - main +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: Install pnpm + run: npm i -g pnpm + + - name: Install deps + run: pnpm i + + - name: Run ESLint + run: pnpm run lint -- cgit