From f659cb0ccb3418e923f5ecfe8a43ba82cd244854 Mon Sep 17 00:00:00 2001 From: darkicewolf50 Date: Tue, 12 Mar 2024 11:12:45 -0600 Subject: [PATCH] change github actions to use eslint --- .github/workflows/testAutomatic.yaml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/testAutomatic.yaml b/.github/workflows/testAutomatic.yaml index 97a0963..60339cb 100644 --- a/.github/workflows/testAutomatic.yaml +++ b/.github/workflows/testAutomatic.yaml @@ -1,6 +1,6 @@ # name of the workflow. # this is optional. -name: Continuous Integration +name: EsLint Check for Correctness in Code # events that will trigger this workflow. # here, we only have "pull_request", so the workflow will run @@ -22,7 +22,7 @@ jobs: # name of the step. # steps run sequentially. # this is optionale - - name: checkout + - name: checkout use # each step can either have "uses" or "run". # "uses" run an action written somewhere other than this workflow . # usually from the community. @@ -32,5 +32,8 @@ jobs: # another step. # this step runs a bash (Ubuntu's default shell) command - - name: list files - run: ls + - name: Install Modules + run: yarn + + - name: Run ESLint + run: eslint . --ext .js,.jsx,.ts,.tsx