Skip to content

Commit

Permalink
Try to fix linting report upload
Browse files Browse the repository at this point in the history
  • Loading branch information
bjoernricks authored and y0urself committed Oct 22, 2021
1 parent 686e18a commit 8cb6901
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci-js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,16 @@ jobs:
- name: Load Lint Results
uses: actions/download-artifact@v2
with:
name: lint
path: .
name: linting-report
path: ${{ env.REPORT_DIR }}
- name: Submit test coverage to codecov.io
uses: codecov/codecov-action@v2
with:
fail_ci_if_error: true

linting:
env:
REPORT_DIR: reports
REPORT_FILE: linting-report.xml
name: Linting
runs-on: 'ubuntu-latest'
strategy:
Expand All @@ -78,9 +78,9 @@ jobs:
- name: Install dependencies
run: yarn install --prefer-offline
- name: Lint JavaScript files
run: yarn lint --format junit -o ${{ env.REPORT_DIR }}
run: yarn lint --format junit -o ${{ env.REPORT_FILE }}
- name: Store Lint Results
uses: actions/upload-artifact@v2
with:
name: lint
path: ${{ env.REPORT_DIR }}
name: linting-report
path: ${{ env.REPORT_FILE }}

0 comments on commit 8cb6901

Please sign in to comment.