Skip to content

Commit

Permalink
ci: formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
AnnAngela committed Dec 22, 2023
1 parent f603dac commit 9653ae7
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 68 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/postCommit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -204,11 +204,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 ./scripts/modules/eslint-formatter-gha.cjs --max-warnings 0 ./src || bash scripts/infoAboutFailure.sh
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
- name: Run stylelint
run: npx stylelint --cache --cache-strategy content --cache-location ".cache/" --formatter github --max-warnings 0 "src/**/*.css" || bash scripts/infoAboutFailure.sh
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::" || bash scripts/infoAboutFailure.sh
run: echo "::group::v8r output" && npx v8r && echo "::endgroup::"
- name: Check .mailmap
if: needs.postCommit.result == 'success'
run: node scripts/emailmapChecker/index.js
Expand Down
9 changes: 9 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"dependencies": {
"@actions/artifact": "^2.0.0",
"@actions/core": "^1.10.1",
"@annangela/eslint-formatter-gha": "^1.0.2",
"@annangela/eslint-plugin-prefer-reflect": "^2.1.0",
"@csstools/postcss-is-pseudo-class": "^4.0.4",
"@csstools/postcss-media-minmax": "^1.1.1",
Expand Down
65 changes: 0 additions & 65 deletions scripts/modules/eslint-formatter-gha.cjs

This file was deleted.

0 comments on commit 9653ae7

Please sign in to comment.