Skip to content

Commit 89a4545

Browse files
committed
chore: upgrade to Node.js 18
1 parent 31cadc3 commit 89a4545

5 files changed

Lines changed: 11 additions & 7 deletions

File tree

.github/workflows/continuous-integration.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
runs-on: ubuntu-latest
99
strategy:
1010
matrix:
11-
node-version: [16, 18]
11+
node-version: [16, 18, 20]
1212
steps:
1313
- name: Checkout code
1414
uses: actions/checkout@v3
@@ -25,4 +25,8 @@ jobs:
2525
run: npm run lint
2626

2727
- name: Build
28+
run: npm run build
29+
30+
- name: Bundle
31+
if: ${{ matrix.node-version == 18 }}
2832
run: npm run bundle

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
16
1+
18

README.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ npm run build
7878

7979
== Package
8080
=== Pre-configured
81-
Package the app for Node.JS 16 on MacOS, Linux, and Windows.
81+
Package the app for Node.JS 18 on MacOS, Linux, and Windows.
8282

8383
[source,bash]
8484
----

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"google-cloud-sql": "dist/index.js"
1717
},
1818
"engines": {
19-
"node": ">= 14"
19+
"node": ">= 16"
2020
},
2121
"scripts": {
2222
"clean": "rimraf dist bin",
@@ -48,12 +48,12 @@
4848
"@semantic-release/changelog": "6.0.3",
4949
"@semantic-release/exec": "6.0.3",
5050
"@semantic-release/git": "10.0.1",
51-
"@tsconfig/node16": "16.1.1",
51+
"@tsconfig/node18": "18.2.2",
5252
"@types/inquirer": "8.2.6",
5353
"@types/inquirer-autocomplete-prompt": "2.0.0",
5454
"@types/lodash": "4.14.201",
5555
"@types/memoizee": "0.4.11",
56-
"@types/node": "16.18.60",
56+
"@types/node": "18.18.9",
5757
"@types/shelljs": "0.8.14",
5858
"@types/update-notifier": "5.1.0",
5959
"@typescript-eslint/eslint-plugin": "6.9.1",

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": "@tsconfig/node16/tsconfig.json",
2+
"extends": "@tsconfig/node18/tsconfig.json",
33
"include": [
44
"types/**/*.ts",
55
"src/**/*.ts"

0 commit comments

Comments
 (0)