Skip to content

Commit

Permalink
try to get reports as artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
Khagou committed Feb 3, 2024
1 parent 7b7eb60 commit e1435b9
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,34 @@ jobs:
uses: sibiraj-s/action-eslint@v3
with:
token: ${{ secrets.GITHUB_TOKEN }} # optional
eslint-args: "--ignore-path=.gitignore --quiet"
eslint-args: "--ignore-path=.gitignore --quiet -o ./eslint/back_Eslint.txt"
extensions: "js,jsx,ts,tsx"
annotations: true
working-directory: server

- name: Run front Eslint test
uses: sibiraj-s/action-eslint@v3
with:
token: ${{ secrets.GITHUB_TOKEN }} # optional
eslint-args: "--ignore-path=.gitignore --quiet -o ./eslint/front_Eslint.txt"
extensions: "js,jsx,ts,tsx"
annotations: true
working-directory: client

- name: front report
uses: actions/upload-artifact@v3
with:
name: eslint front report
path: |
/client/eslint/front_Eslint.txt
- name: back report
uses: actions/upload-artifact@v3
with:
name: eslint back report
path: |
/server/eslint/back_Eslint.txt
build-and-push:
needs: [Jest-tests, Eslint-test]
runs-on: ubuntu-latest
Expand Down

0 comments on commit e1435b9

Please sign in to comment.