Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,18 @@ jobs:
- name: Lint
run: npm run lint

# No non-test backend module may be reachable only from its own spec
# (issue #1949). scripts/check-dead-modules.js walks the import graph
# from the entrypoints and fails the job on any orphan module.
- name: Dead module check
run: npm run dead-modules

# Reject a package.json that declares dependencies which nothing in
# src/ or scripts/ imports, or that imports a package it does not
# declare (issue #1952).
- name: Dependency hygiene (depcheck)
run: npm run depcheck

- name: Build (TypeScript check)
run: npm run build

Expand Down
6 changes: 3 additions & 3 deletions backend/.npmrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# @nestjs/terminus@10 declares a peerOptional on @nestjs/axios ^1-3 while this
# app depends on @nestjs/axios ^4 (issue #1953). Skip peer-dep enforcement so
# `npm ci` can install from the lockfile.
# @nestjs/terminus@10 declares peerOptional ranges (for example
# @nestjs/typeorm ^9 || ^10) that lag the majors this app installs. Skip
# peer-dep enforcement so `npm ci` can install from the lockfile.
legacy-peer-deps=true
Loading
Loading