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 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",