chore(node): require node 16+

- node 14 EOL 2023-04-30
- add node 20
This commit is contained in:
MDLeom 2023-05-06 06:00:36 +00:00
parent f65e7e7a22
commit 793bcd81c4
No known key found for this signature in database
GPG Key ID: 06C236E63CBC68AA
4 changed files with 7 additions and 7 deletions

View File

@ -7,10 +7,10 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Use Node.js 14.x - name: Use Node.js 16.x
uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with:
node-version: '14.x' node-version: "16.x"
- name: Cache NPM dependencies - name: Cache NPM dependencies
uses: actions/cache@v3 uses: actions/cache@v3
with: with:

View File

@ -8,11 +8,11 @@ on:
- .github/workflows/semgrep.yml - .github/workflows/semgrep.yml
schedule: schedule:
# Weekly # Weekly
- cron: '0 0 * * 0' - cron: "0 0 * * 0"
jobs: jobs:
semgrep: semgrep:
name: Scan name: Scan
runs-on: ubuntu-20.04 runs-on: ubuntu-latest
env: env:
SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }} SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }}
container: container:

View File

@ -8,7 +8,7 @@ jobs:
strategy: strategy:
matrix: matrix:
os: [ubuntu-latest, windows-latest, macos-latest] os: [ubuntu-latest, windows-latest, macos-latest]
node-version: ['14', '16', '18', '19'] node-version: ["16", "18", "20"]
fail-fast: false fail-fast: false
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
@ -33,7 +33,7 @@ jobs:
strategy: strategy:
matrix: matrix:
os: [ubuntu-latest] os: [ubuntu-latest]
node-version: ['14.x'] node-version: ["16.x"]
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }} - name: Use Node.js ${{ matrix.node-version }}

View File

@ -16,7 +16,7 @@
"test": "jest" "test": "jest"
}, },
"engines": { "engines": {
"node": ">= 14.15.0" "node": ">= 16.13.0"
}, },
"author": "curben", "author": "curben",
"license": "MIT", "license": "MIT",