build(deps): update dependencies #1456
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint source code | |
on: [pull_request] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install modules | |
run: npm ci --legacy-peer-deps | |
- name: Run ESLint | |
run: npx eslint --output-file eslint_report.json --format json src/** e2e/** scripts/** | |
- name: Annotate Code Linting Results | |
uses: ataylorme/[email protected] | |
if: always() | |
with: | |
repo-token: '${{ secrets.GITHUB_TOKEN }}' | |
report-json: 'eslint_report.json' | |
- name: Run Prettier | |
run: npx prettier --check src/**/*.*s e2e/**/*.*s scripts/**/*.*s |