Skip to content

chore: removes references to codeclimate #28

chore: removes references to codeclimate

chore: removes references to codeclimate #28

Workflow file for this run

name: linting & test coverage - linux
on:
push:
branches:
- master
pull_request:
env:
CI: true
defaults:
run:
shell: bash
jobs:
check:
strategy:
fail-fast: true
matrix:
node-version:
- 20.x
platform:
- ubuntu-latest
runs-on: ${{matrix.platform}}
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: node_modules
key: ${{matrix.node-version}}@${{matrix.platform}}-build-${{hashFiles('package.json')}}
restore-keys: |
${{matrix.node-version}}@${{matrix.platform}}-build-
- uses: actions/setup-node@v4
with:
node-version: ${{matrix.node-version}}
- name: install & build
run: |
npm install
npm run build
- name: lint & forbidden dependency check
run: |
npm run lint
npm run depcruise
- run: npm run test:cover