From 7cb8e9164139f082a8a93c6ac77cb922aadd45d0 Mon Sep 17 00:00:00 2001 From: Hellen Wang Date: Fri, 23 Aug 2024 16:47:04 +1000 Subject: [PATCH] lint file --- .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 00000000..edd94bf7 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,19 @@ +name: Lint + +on: [push] + +jobs: + eslint: + name: linting + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v1 + + - name: Install packages + working-directory: frontend + run: yarn install + + - name: Run EsLint + working-directory: frontend + run: yarn lint