Skip to content

Commit 2b55cf8

Browse files
committed
chore: upgrade tasks to node 20
Signed-off-by: lstocchi <[email protected]>
1 parent d225d12 commit 2b55cf8

File tree

17 files changed

+4414
-3137
lines changed

17 files changed

+4414
-3137
lines changed

.eslintrc

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060
"guard-for-in": 2,
6161
"import/no-unresolved": ["error"],
6262
"import/no-duplicates": ["error"],
63+
"import/first": "off",
6364
"import/prefer-default-export": 0,
6465
"max-nested-callbacks": [1, 4],
6566
"max-classes-per-file": [0],
@@ -86,7 +87,17 @@
8687
"prefer-template": 2,
8788
"radix": 2,
8889
"no-trailing-spaces": "error",
89-
"@typescript-eslint/prefer-regexp-exec": 0
90+
"@typescript-eslint/prefer-regexp-exec": 0,
91+
"import/extensions": [
92+
"error",
93+
"ignorePackages",
94+
{
95+
"js": "never",
96+
"jsx": "never",
97+
"ts": "never",
98+
"tsx": "never"
99+
}
100+
]
90101
},
91102
"overrides": [
92103
{

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
runs-on: ubuntu-latest
1818
strategy:
1919
matrix:
20-
node: [ '16', '14', '10' ]
20+
node: [ '20', '16' ]
2121
name: Node ${{ matrix.node }}
2222

2323
steps:
@@ -39,7 +39,7 @@ jobs:
3939
- name: Setup Node.js environment
4040
uses: actions/setup-node@v3
4141
with:
42-
node-version: '10.x'
42+
node-version: '20.x'
4343
- run: npm run setup
4444
- run: npm install
4545
- run: npm run build
@@ -53,7 +53,7 @@ jobs:
5353
- name: Setup Node.js environment
5454
uses: actions/setup-node@v3
5555
with:
56-
node-version: '10.x'
56+
node-version: '20.x'
5757
- run: npm run setup
5858
- run: npm install
5959
- run: npm run build

0 commit comments

Comments
 (0)