Skip to content

Commit a626eee

Browse files
Copilotfeelform
andcommitted
Enable checkstyle reporting in GitHub Actions workflow
Co-authored-by: feelform <[email protected]>
1 parent 137a2b5 commit a626eee

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

.github/workflows/main.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,15 @@ jobs:
3131
node-version: ${{ matrix.node_version }}
3232
- run: npm install
3333
- run: npm test
34-
# - name: Lint
35-
# if: matrix.node_version == env.TARGET_COVERAGE_NODE_VERSION
36-
# run: npm run lint
37-
# - name: Upload checkstyle report
38-
# if: matrix.node_version == env.TARGET_COVERAGE_NODE_VERSION
39-
# uses: jwgmeligmeyling/checkstyle-github-action@master
40-
# with:
41-
# path: '**/checkstyle-result.xml'
34+
- name: Lint
35+
if: matrix.node_version == env.TARGET_COVERAGE_NODE_VERSION
36+
run: npm run lint
37+
- name: Upload checkstyle report
38+
if: matrix.node_version == env.TARGET_COVERAGE_NODE_VERSION
39+
uses: jwgmeligmeyling/checkstyle-github-action@master
40+
with:
41+
path: '**/checkstyle-result.xml'
42+
token: ${{ secrets.GITHUB_TOKEN }}
4243
- name: Coverage
4344
if: matrix.node_version == env.TARGET_COVERAGE_NODE_VERSION
4445
run: npm run coverage

0 commit comments

Comments
 (0)