From 793bcd81c46d4b7f1a8a83870efe1d69b2031cdb Mon Sep 17 00:00:00 2001 From: MDLeom <43627182+curbengh@users.noreply.github.com> Date: Sat, 6 May 2023 06:00:36 +0000 Subject: [PATCH] chore(node): require node 16+ - node 14 EOL 2023-04-30 - add node 20 --- .github/workflows/linter.yml | 4 ++-- .github/workflows/semgrep.yml | 4 ++-- .github/workflows/tester.yml | 4 ++-- package.json | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 1a22a35..ccc3c75 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -7,10 +7,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - name: Use Node.js 14.x + - name: Use Node.js 16.x uses: actions/setup-node@v3 with: - node-version: '14.x' + node-version: "16.x" - name: Cache NPM dependencies uses: actions/cache@v3 with: diff --git a/.github/workflows/semgrep.yml b/.github/workflows/semgrep.yml index 99b5075..2a3b41e 100644 --- a/.github/workflows/semgrep.yml +++ b/.github/workflows/semgrep.yml @@ -8,11 +8,11 @@ on: - .github/workflows/semgrep.yml schedule: # Weekly - - cron: '0 0 * * 0' + - cron: "0 0 * * 0" jobs: semgrep: name: Scan - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest env: SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }} container: diff --git a/.github/workflows/tester.yml b/.github/workflows/tester.yml index 9b30b67..3480e38 100644 --- a/.github/workflows/tester.yml +++ b/.github/workflows/tester.yml @@ -8,7 +8,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest, macos-latest] - node-version: ['14', '16', '18', '19'] + node-version: ["16", "18", "20"] fail-fast: false steps: - uses: actions/checkout@v3 @@ -33,7 +33,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - node-version: ['14.x'] + node-version: ["16.x"] steps: - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} diff --git a/package.json b/package.json index 36b1c57..34ca7d5 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "test": "jest" }, "engines": { - "node": ">= 14.15.0" + "node": ">= 16.13.0" }, "author": "curben", "license": "MIT",