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
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
run: npm run format

- name: Run Tests with Coverage
run: npm test
run: npm run coverage

- name: Run type checks
run: npm run typecheck
Expand Down
4 changes: 4 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
tests
src
vitest.config.ts
tsconfig.json
2 changes: 1 addition & 1 deletion .sequelizerc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ require('dotenv').config();
const path = require('path');

module.exports = {
config: path.resolve('src/config/config.js'),
config: path.resolve('src/config/config.cjs'),
'models-path': path.resolve('src/models'),
'seeders-path': path.resolve('src/seeders'),
'migrations-path': path.resolve('src/migrations'),
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ WORKDIR /app
RUN apk add --no-cache postgresql-client netcat-openbsd

COPY package.json package-lock.json* ./
RUN npm i
RUN npm ci

COPY . .
RUN mkdir -p ./keys
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ services:
postgres:
condition: service_healthy
healthcheck:
test: ['CMD', 'node', 'dist/healthCheck.js']
test: ['CMD', 'node', './healthCheck.js']
interval: 30s
timeout: 5s
retries: 3
Expand Down
5 changes: 0 additions & 5 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,13 @@ import js from '@eslint/js';
import tsPlugin from '@typescript-eslint/eslint-plugin';
import tsParser from '@typescript-eslint/parser';
import simpleImportSort from 'eslint-plugin-simple-import-sort';
import pluginJest from 'eslint-plugin-jest';

export default [
{
ignores: ['dist/**', 'node_modules/**', 'coverage/**', '**.config.**', 'tests/**'],
},
{
files: ['**/*.spec.js', '**/*.test.js', '**/*.spec.ts', '**/*.test.ts'],
plugins: { jest: pluginJest },
languageOptions: {
globals: pluginJest.environments.globals.globals,
},
rules: {
'jest/no-disabled-tests': 'warn',
'jest/no-focused-tests': 'error',
Expand Down
Loading
Loading