From 8dd8b104a6f789a3f6edae61f10157990792e0ef Mon Sep 17 00:00:00 2001 From: seeleng Date: Thu, 19 Sep 2024 14:41:48 +0800 Subject: [PATCH] feat: add frontend linter --- .github/workflows/lint.yml | 17 +++++++++++++++++ 1 file changed, 17 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..db3bbb60 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,17 @@ +name: CI +on: push +jobs: + eslint: + runs-on: ubuntu-latest + defaults: + run: + working-directory: ./frontend + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v2 + with: + node-version: "20.5.1" + - name: install + run: yarn install + - name: ESLint + run: eslint --ext .ts,.tsx ./app