Skip to content

Merge pull request #605 from sanger/depfu/update/npm/csv-parse-5.6.0 #1885

Merge pull request #605 from sanger/depfu/update/npm/csv-parse-5.6.0

Merge pull request #605 from sanger/depfu/update/npm/csv-parse-5.6.0 #1885

Workflow file for this run

name: Linting
on:
- push
- pull_request
jobs:
eslint:
name: EsLint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Export node version
id: node_version
run: echo ::set-output name=NODE_VERSION::$(cat .nvmrc)
- name: Setup node
uses: actions/setup-node@v2
with:
node-version-file: '.nvmrc'
- name: Install
run: npm ci --legacy-peer-deps
- name: Run npm lint
run: npm run lint
- name: Check prettier
run: npm run prettier-check