Skip to content

dvc 3.53.2

dvc 3.53.2 #3533

Workflow file for this run

name: 'Linting and Testing'
on: pull_request
concurrency:
group: lint-${{ github.head_ref }}
cancel-in-progress: true
jobs:
run-tests:
name: 'Run Tests'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Node.js and use yarn
uses: actions/setup-node@v3
with:
node-version: '18.x'
cache: 'yarn'
- name: Install All Dependencies
run: yarn install --immutable
- name: Check Formatting with Prettier
run: yarn format-check-all
- name: Lint JS with ESLint
run: yarn lint
- name: Lint CSS with Stylelint
run: yarn lint-css
- name: Check TypeScript compilation
run: yarn lint-ts
- name: Run tests
run: yarn test