Pulling feat/strains-catalog into develop #936
Workflow file for this run
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: Linting with eslint | |
on: [pull_request, workflow_dispatch] | |
jobs: | |
lint: | |
name: lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: set up node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: check out code | |
uses: actions/checkout@v3 | |
- name: install | |
run: yarn | |
- name: generate eslint report | |
run: yarn lint:out | |
- name: merge all eslint reports | |
if: ${{ failure() }} | |
run: yarn lint:merge | |
- name: Annotate Code Linting Results | |
if: ${{ failure() }} | |
uses: ataylorme/eslint-annotate-action@v2 | |
with: | |
repo-token: "${{ secrets.GITHUB_TOKEN }}" | |
report-json: "eslint_output.json" |