Skip to content

Commit

Permalink
chore(package): drop node v12 [BREAKING CHANGE]
Browse files Browse the repository at this point in the history
  • Loading branch information
chimurai committed May 15, 2022
1 parent 80c5855 commit 83caacc
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Expand Up @@ -10,10 +10,10 @@ jobs:
steps:

- uses: actions/checkout@v3
- name: Use Node.js 16.x
- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 18.x

- uses: actions/cache@v3
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
Expand All @@ -39,7 +39,7 @@ jobs:

strategy:
matrix:
node-version: [12.x, 14.x, 16.x]
node-version: [14.x, 16.x, 18.x]

steps:

Expand Down Expand Up @@ -77,10 +77,10 @@ jobs:
steps:

- uses: actions/checkout@v3
- name: Use Node.js 16.x
- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 18.x

- uses: actions/cache@v3
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
Expand Down
Empty file modified .husky/pre-commit 100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -18,7 +18,7 @@
"checker"
],
"engines": {
"node": "^12.20.0 || ^14.13.1 || >=16.0.0"
"node": "^14.13.1 || >=16.0.0"
},
"type": "module",
"exports": "./dist/index.js",
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.json
@@ -1,10 +1,10 @@
{
"compilerOptions": {
"outDir": "./dist",
"lib": ["ES2019"],
"lib": ["ES2020"],
"module": "ES2020",
"moduleResolution": "node",
"target": "ES2019",
"target": "ES2020",
"declaration": true,
"allowSyntheticDefaultImports": true
},
Expand Down

0 comments on commit 83caacc

Please sign in to comment.