Skip to content

Commit

Permalink
ci: Fix eslint command in postCommit.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
AnnAngela committed Jan 18, 2024
1 parent 162c61b commit 07902f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/postCommit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -159,11 +159,11 @@ jobs:
- name: Check environment
run: 'npx eslint --env-info && echo ---- && echo "stylelint: "$(npx stylelint --version) && echo ---- && echo "v8r: "$(npx v8r --version) && echo ---- && mkdir -vp .cache && echo ".cache:" && ls -lhA .cache'
- name: Run eslint
run: npx eslint --cache --cache-strategy content --cache-location ".cache/" --ext js --exit-on-fatal-error --format @annangela/eslint-formatter-gha --max-warnings 0 ./src
run: npx eslint --cache --cache-strategy content --cache-location ".cache/" --exit-on-fatal-error --format @annangela/eslint-formatter-gha --max-warnings 0 ./src
- name: Run stylelint
run: npx stylelint --cache --cache-strategy content --cache-location ".cache/" --formatter github --max-warnings 0 "src/**/*.css"
- name: Run v8r
run: echo "::group::v8r output" && npx v8r && echo "::endgroup::"
run: npx v8r
- name: Check .mailmap
if: needs.postCommit.result == 'success'
run: node scripts/emailmapChecker/index.js
Expand Down

0 comments on commit 07902f9

Please sign in to comment.