From 416592369c15339bb5644ec144236dbfe8df24e5 Mon Sep 17 00:00:00 2001 From: Eric Kesseler Date: Fri, 8 Dec 2023 18:02:38 +0100 Subject: [PATCH] update node version to 16 --- .github/workflows/publish.yml | 6 +++--- .github/workflows/pull-request.yml | 6 +++--- package.json | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index b71ef15..d0ba28d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -14,14 +14,14 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v2 with: - node-version: 12 + node-version: 16 registry-url: https://registry.npmjs.org/ - name: Install dependencies run: npm install - name: Lint code run: npm run lint -# - name: Run tests -# run: npm run test + # - name: Run tests + # run: npm run test - name: Build library run: npm run build - name: Generate documentation diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index ca2f88e..c57729d 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -13,14 +13,14 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v2 with: - node-version: 12 + node-version: 16 registry-url: https://registry.npmjs.org/ - name: Install dependencies run: npm install - name: Lint code run: npm run lint -# - name: Run tests -# run: npm run test + # - name: Run tests + # run: npm run test - name: Build library run: npm run build - name: Generate documentation diff --git a/package.json b/package.json index 24218a0..f2cee07 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "Extension for js-log, that writes to Mongo databases.", "main": "lib/index.js", "engines": { - "node": ">=12.0.0" + "node": ">=16.0.0" }, "scripts": { "build": "del ./lib && tsc",