From 6348adf25796ba2fd34545cacfc2def0415663f6 Mon Sep 17 00:00:00 2001 From: Hellen Wang Date: Fri, 23 Aug 2024 16:00:37 +1000 Subject: [PATCH] added yml file for lint --- .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..51eba7f1 --- /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 + - uses: npm i + + - name: Run EsLint + - working-directory: frontend + - uses: npm run lint