Skip to content

Commit 4c7d356

Browse files
committed
use node 16 with npm 8
1 parent 8754ab6 commit 4c7d356

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
prerelease: false
1919
- uses: actions/setup-node@v1
2020
with:
21-
node-version: '12.x'
21+
node-version: '16.x'
2222
registry-url: 'https://registry.npmjs.org'
2323
- run: npm install
2424
- run: npm publish

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
- uses: actions/checkout@v2
88
- uses: actions/setup-node@v1
99
with:
10-
node-version: '12.x'
10+
node-version: '16.x'
1111
registry-url: 'https://registry.npmjs.org'
1212
- run: npm install
1313
- run: npm run lint

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
"main": "dist/index.js",
66
"module": "dist/esm/index.js",
77
"sideEffects": false,
8+
"engines": {
9+
"npm": "^8",
10+
"node": "^16"
11+
},
812
"scripts": {
913
"build": "npm run build:node && npm run build:esm",
1014
"build:node": "tsc",

0 commit comments

Comments
 (0)