Skip to content

Commit bb2f08a

Browse files
authored
Merge pull request #135 from eexit/add-node-16-support
Add Node 16 support
2 parents b782eb7 + 1246da7 commit bb2f08a

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- uses: actions/checkout@v2
1212
- uses: actions/setup-node@v2
1313
with:
14-
node-version: 14
14+
node-version: 16
1515
- run: npm install -g yarn
1616
- run: yarn
1717
- run: yarn run eslint
@@ -25,7 +25,7 @@ jobs:
2525
- uses: actions/checkout@v2
2626
- uses: actions/setup-node@v2
2727
with:
28-
node-version: 14
28+
node-version: 16
2929
registry-url: https://registry.npmjs.org/
3030
- run: yarn install --frozen-lockfile
3131
- run: yarn publish

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
14-
node-version: [12, 14]
14+
node-version: [12, 14, 16]
1515
steps:
1616
- uses: actions/checkout@v2
1717
- name: Node.js ${{ matrix.node-version }}
@@ -24,10 +24,10 @@ jobs:
2424
- run: yarn run eslint
2525
- run: yarn global add mocha
2626
- name: Run yarn test
27-
if: ${{ !startsWith(matrix.node-version, '14') }}
27+
if: ${{ !startsWith(matrix.node-version, '16') }}
2828
run: yarn test
2929
- name: Run yarn coverage
30-
if: ${{ startsWith(matrix.node-version, '14') }}
30+
if: ${{ startsWith(matrix.node-version, '16') }}
3131
uses: paambaati/codeclimate-action@v3.0.0
3232
env:
3333
CC_TEST_REPORTER_ID: 0d3707693eec3617898169fa9d7f91a86d5a98a252beb81bd9fe89009647a456

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"eslint": "$(npm bin)/eslint ."
3838
},
3939
"engines": {
40-
"node": "^12.0.0 || ^14.0.0"
40+
"node": "^12.22.1 || ^14.17.0 || ^16.13.0"
4141
},
4242
"dependencies": {
4343
"bluebird": "^3.7.0",

0 commit comments

Comments
 (0)