Skip to content

Commit

Permalink
try action-eslint@V3
Browse files Browse the repository at this point in the history
  • Loading branch information
Khagou committed Feb 3, 2024
1 parent 4246874 commit 9dc56d1
Showing 1 changed file with 19 additions and 8 deletions.
27 changes: 19 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,15 +77,26 @@ jobs:
run: pwd
working-directory: server

- name: Run back Eslint test
run: |
npx eslint **/*.js -o ./eslint/back_Eslint.txt --no-color
working-directory: server
# - name: Run back Eslint test
# run: |
# npx eslint **/*.js -o ./eslint/back_Eslint.txt --no-color
# working-directory: server

- name: Run front Eslint test
run: |
npx eslint **/*.js -o ./eslint/front_Eslint.txt --no-color
working-directory: client
# - name: Run front Eslint test
# run: |
# npx eslint **/*.js -o ./eslint/front_Eslint.txt --no-color
# working-directory: client

- uses: action@v2
with:
working-dir: server

- uses: sibiraj-s/action-eslint@v3
with:
token: ${{ secrets.GITHUB_TOKEN }} # optional
eslint-args: "--ignore-path=.gitignore --quiet"
extensions: "js,jsx,ts,tsx"
annotations: true

build-and-push:
needs: [Jest-tests, Eslint-test]
Expand Down

0 comments on commit 9dc56d1

Please sign in to comment.