Skip to content

Commit 4b63e67

Browse files
committed
chore: Change Node version
1 parent c2148ab commit 4b63e67

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

.github/workflows/index.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
- uses: actions/checkout@v2
1111
- uses: actions/setup-node@v1
1212
with:
13-
node-version: '12'
13+
node-version: '14'
1414
- run: yarn install
1515
- run: yarn test:ci
1616
- run: yarn build

package.json

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@
2222
},
2323
"main": "dist/index.js",
2424
"module": "dist/index.es.js",
25+
"engines": {
26+
"node": ">=14"
27+
},
2528
"devDependencies": {
2629
"@babel/cli": "^7.12.10",
2730
"@babel/core": "^7.12.10",
@@ -70,9 +73,7 @@
7073
"jest": {
7174
"coverageDirectory": "./coverage/",
7275
"collectCoverage": true,
73-
"setupFilesAfterEnv": [
74-
"<rootDir>/jest/jest.setup.js"
75-
],
76+
"setupFilesAfterEnv": ["<rootDir>/jest/jest.setup.js"],
7677
"restoreMocks": true
7778
},
7879
"husky": {
@@ -82,9 +83,7 @@
8283
}
8384
},
8485
"release": {
85-
"branches": [
86-
"main"
87-
],
86+
"branches": ["main"],
8887
"plugins": [
8988
[
9089
"@semantic-release/commit-analyzer",

0 commit comments

Comments
 (0)