equisoft-actions/Run eslint through yarn and upload report

Run a yarn task expecting eslint reports to be produced. The exported reports will follow naming conventions detailed by our ADRs (https://confluence.equisoft.com/display/HRMI/ADR). A report named `build/eslint/report.sarif` is expected under all circumstances. Errors will be annotated on pull requests.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
enable-annotationsAnnotate files with eslint errors, in which case a `build/eslint/report.sarif` file is expected. This is the default behavior for projects that branched off webapp-boilerplate. Defaults to `true`. yestrue
report-nameThe name of the archived report. It must follow the convention detailed by our ADRs.yeseslint.sarif
report-retention-daysDuration in days to preserve reports. Defaults to 5.yes5
task-nameThe task name. Defaults to "eslint:ci".yeseslint:ci
working-directoryRelative path under $GITHUB_WORKSPACE where the project is located.no.

no outputs