[Snyk] Security upgrade @ew-did-registry/did-ipfs-store from 0.7.1-alpha.816.0 to 0.8.0 #380
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 | |
- uses: actions/setup-node@v2-beta | |
with: | |
node-version: "16.10.0" | |
registry-url: https://registry.npmjs.org/ | |
- name: Install modules | |
run: npm ci | |
- name: Bootstrap packages | |
run: npm run setup | |
- name: Build | |
run: npm run build | |
- name: Run ESLint | |
run: npx eslint --output-file eslint_report.json --format json packages/*/src | |
- 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/*/src/**/*.*s packages/*/test/**/*.*s |