Merge pull request #140 from curbengh/node-20

chore(node): require node 16+
This commit is contained in:
Ming Di Leom 2023-10-01 14:06:48 +10:30 committed by GitHub
commit c964cfcf80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 7 deletions

View File

@ -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:

View File

@ -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:

View File

@ -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 }}

View File

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