Merge pull request #110 from curbengh/update-deps

chore(node): drop Node 12 & 17, add 18
This commit is contained in:
Ming Di Leom 2022-05-05 14:24:05 +09:30 committed by GitHub
commit d757c1b5c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 17 additions and 17 deletions

View File

@ -6,13 +6,13 @@ jobs:
linter:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.4
- uses: actions/checkout@v3.0.2
- name: Use Node.js 14.x
uses: actions/setup-node@v2.4.1
uses: actions/setup-node@v3.1.1
with:
node-version: '14.x'
- name: Cache NPM dependencies
uses: actions/cache@v2.1.6
uses: actions/cache@v3.0.2
with:
path: node_modules
key: ${{ runner.os }}-npm-cache

View File

@ -9,9 +9,9 @@ jobs:
security:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.4
- uses: actions/checkout@v3.0.2
- name: Use Node.js 14.x
uses: actions/setup-node@v2.4.1
uses: actions/setup-node@v3.1.1
with:
node-version: '14.x'
- name: Install Dependencies

View File

@ -8,16 +8,16 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node-version: ['12', '14', '16', '17']
node-version: ['14', '16', '18']
fail-fast: false
steps:
- uses: actions/checkout@v2.3.4
- uses: actions/checkout@v3.0.2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2.4.1
uses: actions/setup-node@v3.1.1
with:
node-version: ${{ matrix.node-version }}
- name: Cache NPM dependencies
uses: actions/cache@v2.1.6
uses: actions/cache@v3.0.2
with:
path: node_modules
key: ${{ runner.os }}-npm-cache
@ -35,13 +35,13 @@ jobs:
os: [ubuntu-latest]
node-version: ['14.x']
steps:
- uses: actions/checkout@v2.3.4
- uses: actions/checkout@v3.0.2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2.4.1
uses: actions/setup-node@v3.1.1
with:
node-version: ${{ matrix.node-version }}
- name: Cache NPM dependencies
uses: actions/cache@v2.1.6
uses: actions/cache@v3.0.2
with:
path: node_modules
key: ${{ runner.os }}-npm-cache
@ -53,6 +53,6 @@ jobs:
env:
CI: true
- name: Upload coverage report to Codecov
uses: codecov/codecov-action@v2.1.0
uses: codecov/codecov-action@v3.1.0
with:
fail_ci_if_error: true

View File

@ -16,7 +16,7 @@
"test": "jest"
},
"engines": {
"node": ">= 12.13.0"
"node": ">= 14.15.0"
},
"author": "curben",
"license": "MIT",
@ -31,9 +31,9 @@
"terser": "^5.3.0"
},
"devDependencies": {
"hexo": "^5.1.1",
"jest": "^27.2.5",
"standard": "^16.0.1"
"hexo": "^6.1.0",
"jest": "^28.0.3",
"standard": "^17.0.0"
},
"keywords": [
"html",