Skip to content

Commit

Permalink
feat: support node v16, v17 (#98)
Browse files Browse the repository at this point in the history
* feat: support node v16, v17, v18

* ci: change matrix syntax

* feat: fix support version
  • Loading branch information
tyankatsu0105 committed Feb 26, 2022
1 parent d7c8055 commit 1c07a4e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ jobs:
strategy:
matrix:
# Follow package.json engine field
node-version: [12.x, 13.x, 14.x]
node-version: ['12', '14', '16', '17']

steps:
- uses: actions/checkout@v2

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
cache: 'npm'
cache: "npm"
cache-dependency-path: package-lock.json
node-version: ${{ matrix.node-version }}

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/type-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ jobs:
strategy:
matrix:
# Follow package.json engine field
node-version: [12.x, 13.x, 14.x]
node-version: ['12', '14', '16', '17']

steps:
- uses: actions/checkout@v2

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
cache: 'npm'
cache: "npm"
cache-dependency-path: package-lock.json
node-version: ${{ matrix.node-version }}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,6 @@
"typescript": "^4.5.5"
},
"engines": {
"node": "^12 || ^14"
"node": "^12 || ^14 || ^16 || ^17"
}
}

0 comments on commit 1c07a4e

Please sign in to comment.