Skip to content

Commit

Permalink
feat: drop Node.js v12 support (#91)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: drop Node.js v12 support, please use v14.18.0 or above
  • Loading branch information
3846masa authored May 2, 2022
1 parent d36a472 commit c722050
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: ['12', '14', '16']
node: ["14", "16", "18"]
steps:
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3.0.2
- name: Setup Node.js
uses: actions/setup-node@56337c425554a6be30cdef71bf441f15be286854 # tag=v3.1.1
with:
node-version: ${{ matrix.node }}
cache: 'yarn'
cache: "yarn"
- run: yarn install --frozen-lockfile
- run: yarn test
release:
Expand All @@ -33,8 +33,8 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@56337c425554a6be30cdef71bf441f15be286854 # tag=v3.1.1
with:
node-version: '14'
cache: 'yarn'
node-version: "16"
cache: "yarn"
- run: yarn install --frozen-lockfile
- run: yarn build
- name: Release
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"@semantic-release/git": "9.0.1",
"@types/http-proxy": "1.17.8",
"@types/needle": "2.5.3",
"@types/node": "12.20.50",
"@types/node": "14.18.16",
"@types/node-fetch": "2.6.1",
"@types/request": "2.48.8",
"@types/superagent": "4.1.15",
Expand Down Expand Up @@ -78,7 +78,7 @@
"urllib"
],
"engines": {
"node": ">=12.19.0 <13.0.0 || >=14.5.0"
"node": ">=14.18.0 <15.0.0 || >=16.0.0"
},
"ava": {
"files": [
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -520,10 +520,10 @@
resolved "https://registry.yarnpkg.com/@types/node/-/node-16.9.1.tgz#0611b37db4246c937feef529ddcc018cf8e35708"
integrity sha512-QpLcX9ZSsq3YYUUnD3nFDY8H7wctAhQj/TFKL8Ya8v5fMm3CFXxo8zStsLAl780ltoYoo1WvKUVGBQK+1ifr7g==

"@types/node@12.20.50":
version "12.20.50"
resolved "https://registry.yarnpkg.com/@types/node/-/node-12.20.50.tgz#14ba5198f1754ffd0472a2f84ab433b45ee0b65e"
integrity sha512-+9axpWx2b2JCVovr7Ilgt96uc6C1zBKOQMpGtRbWT9IoR/8ue32GGMfGA4woP8QyP2gBs6GQWEVM3tCybGCxDA==
"@types/node@14.18.16":
version "14.18.16"
resolved "https://registry.yarnpkg.com/@types/node/-/node-14.18.16.tgz#878f670ba3f00482bf859b6550b6010610fc54b5"
integrity sha512-X3bUMdK/VmvrWdoTkz+VCn6nwKwrKCFTHtqwBIaQJNx4RUIBBUFXM00bqPz/DsDd+Icjmzm6/tyYZzeGVqb6/Q==

"@types/normalize-package-data@^2.4.0":
version "2.4.1"
Expand Down

0 comments on commit c722050

Please sign in to comment.