From f1086db09e5ac8e8bb0f1cb4d32196608fedf2e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bugsounet=20-=20C=C3=A9dric?= Date: Sat, 17 Feb 2024 14:41:02 +0100 Subject: [PATCH 1/2] Create eslint.yml --- .github/workflows/eslint.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/eslint.yml diff --git a/.github/workflows/eslint.yml b/.github/workflows/eslint.yml new file mode 100644 index 00000000..7af43825 --- /dev/null +++ b/.github/workflows/eslint.yml @@ -0,0 +1,18 @@ +name: "ESLint Testing" + +on: [pull_request] + +jobs: + eslint: + name: Run eslint scanning + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v3 + + - name: Install Dependencies + run: npm prune + + - name: Run ESLint + run: npx eslint *.js installer/*.js components/*.js website/tools/*.js website/config/*/*.js components/AssistantSDK/*.js --config .eslintrc.js + continue-on-error: false From 179458a3e5a61a795df400c149a031e605247c02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bugsounet=20-=20C=C3=A9dric?= Date: Sat, 17 Feb 2024 14:42:22 +0100 Subject: [PATCH 2/2] Update eslint.yml --- .github/workflows/eslint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/eslint.yml b/.github/workflows/eslint.yml index 7af43825..2a3117c8 100644 --- a/.github/workflows/eslint.yml +++ b/.github/workflows/eslint.yml @@ -14,5 +14,5 @@ jobs: run: npm prune - name: Run ESLint - run: npx eslint *.js installer/*.js components/*.js website/tools/*.js website/config/*/*.js components/AssistantSDK/*.js --config .eslintrc.js + run: npx eslint *.js installer/*.js components/*.js --config .eslintrc.js continue-on-error: false