Skip to content

Commit

Permalink
build: update to node 18
Browse files Browse the repository at this point in the history
  • Loading branch information
jrassa committed Feb 21, 2024
1 parent fdca798 commit f25787e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ jobs:

strategy:
matrix:
node-version: [16.x, 18.x]
mongodb-version: [4.0, 4.2]
node-version: [18.x, 20.x]
mongodb-version: [4.2, 4.4]

steps:
- name: Git checkout
Expand Down
4 changes: 2 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
image: node:16.17
image: node:18.19

stages:
- build
Expand All @@ -15,7 +15,7 @@ build:
test:
stage: test
services:
- mongo:4.1.2
- mongo:4.4.15
script:
- npm run test:gitlab
coverage: '/^Statements\s*:\s*([^%]+)/'
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"url": "https://github.com:Asymmetrik/node-rest-starter.git"
},
"engines": {
"node": ">=16.17.0",
"npm": ">=8.15.0",
"node": ">=18.19.1",
"npm": ">=10.2.4",
"yarn": ">=1.5.1"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

/* Basic Options */
// "incremental": true, /* Enable incremental compilation */
"target": "es2020", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'. */
"target": "es2022", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'. */
"module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */
// "lib": [], /* Specify library files to be included in the compilation. */
"allowJs": true, /* Allow javascript files to be compiled. */
Expand Down

0 comments on commit f25787e

Please sign in to comment.