Skip to content

Commit 1480af6

Browse files
author
JojoFlex1
committed
chore: merge upstream/main - resolve config conflicts
2 parents 02f76b7 + 9eef44f commit 1480af6

7 files changed

Lines changed: 1183 additions & 685 deletions

File tree

.github/workflows/ci.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: CI Pipeline
2+
3+
on:
4+
push:
5+
branches: ["main", "develop"]
6+
pull_request:
7+
branches: ["main", "develop"]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
13+
strategy:
14+
matrix:
15+
node-version: [20]
16+
17+
steps:
18+
- name: Checkout repository
19+
uses: actions/checkout@v4
20+
21+
- name: Setup Node.js
22+
uses: actions/setup-node@v4
23+
with:
24+
node-version: ${{ matrix.node-version }}
25+
cache: "npm"
26+
27+
- name: Install dependencies
28+
run: npm ci
29+
30+
- name: Run ESLint
31+
run: npm run lint
32+
33+
- name: Typecheck
34+
run: npm run typecheck
35+
36+
- name: Run Tests
37+
run: NODE_ENV=test npm test

eslintrc.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"env": {
3+
"node": true,
4+
"es2022": true,
5+
"jest": true
6+
},
7+
"parser": "@typescript-eslint/parser",
8+
"parserOptions": {
9+
"sourceType": "module"
10+
},
11+
"plugins": ["@typescript-eslint"],
12+
"extends": [
13+
"eslint:recommended",
14+
"plugin:@typescript-eslint/recommended"
15+
],
16+
"ignorePatterns": ["dist", "node_modules"]
17+
}

0 commit comments

Comments
 (0)