Add os param to codecov #1819
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 | |
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 |