Skip to content

Commit b68726b

Browse files
committed
use node 16 with npm 8
1 parent a788b23 commit b68726b

2 files changed

Lines changed: 5 additions & 1 deletion

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

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313
"private": false,
1414
"main": "dist/index.js",
1515
"typings": "dist/index.d.ts",
16+
"engines": {
17+
"npm": "^8",
18+
"node": "^16"
19+
},
1620
"scripts": {
1721
"build": "tsc",
1822
"lint": "eslint --ext js,ts,tsx src",

0 commit comments

Comments
 (0)