build(deps): update dependencies #937
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 | |
- name: Run ESLint | |
run: npx eslint --output-file eslint_report.json --format json packages tests | |
- 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 packages/**/*.*s tests/**/*.*s |