Skip to content

Add @coderrob/eslint-plugin-zero-tolerance to ESLint config and fix all violations #87

Add @coderrob/eslint-plugin-zero-tolerance to ESLint config and fix all violations

Add @coderrob/eslint-plugin-zero-tolerance to ESLint config and fix all violations #87

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node-version: [20.x, 22.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Check for unused dependencies
run: npm run deps:check
- name: Type check
run: npm run typecheck
- name: Run linter
run: npm run lint
- name: Check for code duplication
run: npm run duplication
- name: Check for circular dependencies
run: npm run madge
- name: Compile TypeScript
run: npm run compile
- name: Compile tests
run: npm run compile-tests
- name: Run unit tests
run: npm test
- name: Package extension
run: npm run package