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
54 changes: 23 additions & 31 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,16 @@
name: "CodeQL"

on:
push:
branches: [ "main" ]
paths:
- 'packages/**'
- '!packages/**/node_modules/**'
- '!packages/**/dist/**'
- '!packages/jitar'
- '!packages/create-jitar'
pull_request:
branches: [ "main" ]
paths:
- 'packages/**'
- '!packages/**/node_modules/**'
- '!packages/**/dist/**'
- '!packages/jitar'
- '!packages/create-jitar'
- 'packages/**'
- '!packages/**/node_modules/**'
- '!packages/**/dist/**'
- '!packages/jitar'
- '!packages/create-jitar'
schedule:
- cron: '39 10 * * 1'
- cron: '39 10 * * 1'

jobs:
analyze:
Expand All @@ -34,23 +26,23 @@ jobs:
matrix:
language: [ 'javascript' ]
package:
- 'packages/analysis'
- 'packages/build'
- 'packages/cli'
- 'packages/configuration'
- 'packages/errors'
- 'packages/execution'
- 'packages/health'
- 'packages/http'
- 'packages/logging'
- 'packages/middleware'
- 'packages/plugin-vite'
- 'packages/runtime'
- 'packages/scheduling'
- 'packages/serialization'
- 'packages/services'
- 'packages/sourcing'
- 'packages/validation'
- 'packages/analysis'
- 'packages/build'
- 'packages/cli'
- 'packages/configuration'
- 'packages/errors'
- 'packages/execution'
- 'packages/health'
- 'packages/http'
- 'packages/logging'
- 'packages/middleware'
- 'packages/plugin-vite'
- 'packages/runtime'
- 'packages/scheduling'
- 'packages/serialization'
- 'packages/services'
- 'packages/sourcing'
- 'packages/validation'

steps:
- name: Checkout repository
Expand Down
28 changes: 12 additions & 16 deletions .github/workflows/nodejsci.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
name: Node.js CI

on:
push:
branches: [ main ]
paths:
- 'packages/**'
pull_request:
branches: [ main ]
paths:
- 'packages/**'
- 'packages/**'

jobs:
build:
Expand All @@ -17,17 +13,17 @@ jobs:

strategy:
matrix:
node-version: [20.x, 22.x, 24.x]
node-version: [ 20.x, 22.x, 24.x ]

steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v6

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
cache: npm
cache-dependency-path: '**/package-lock.json'

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
cache: npm
cache-dependency-path: '**/package-lock.json'

- run: npm ci
- run: npm run review
- run: npm ci
- run: npm run review
10 changes: 2 additions & 8 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
import eslint from '@eslint/js';
import { defineConfig } from 'eslint/config'
import tsparser from '@typescript-eslint/parser';
import jitar from 'eslint-plugin-jitar';
import sonarjs from 'eslint-plugin-sonarjs';
import { defineConfig } from 'eslint/config';
import tseslint from 'typescript-eslint';

export default defineConfig(
eslint.configs.recommended,
tseslint.configs.recommended,
tseslint.configs.stylistic,
sonarjs.configs.recommended,
{
ignores: [
"**/dist/**/*",
Expand All @@ -35,11 +33,7 @@ export default defineConfig(
"semi": ["error", "always"],
"eol-last": ["error", "always"],
"brace-style": ["error", "allman", { "allowSingleLine": true }],
"jitar/empty-first-line": "error",

"sonarjs/todo-tag": "off",
"sonarjs/slow-regex": "off",
"sonarjs/duplicates-in-character-class": "off"
"jitar/empty-first-line": "error"
}
}
);
Loading
Loading