Skip to content

Commit fbf213d

Browse files
authored
feat: add nodejs16.x runtime support (#306)
1 parent 2e3803a commit fbf213d

File tree

4 files changed

+4
-2
lines changed

4 files changed

+4
-2
lines changed

.github/workflows/pull.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
strategy:
1212
matrix:
13-
node-version: [12.x, 14.x]
13+
node-version: [12.x, 14.x, 16.x]
1414
steps:
1515
- uses: actions/checkout@v2
1616
- name: Use Node.js ${{ matrix.node-version }}

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
strategy:
1212
matrix:
13-
node-version: [12.x, 14.x]
13+
node-version: [12.x, 14.x, 16.x]
1414
steps:
1515
- uses: actions/checkout@v2
1616
- name: Use Node.js ${{ matrix.node-version }}

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ AWS:
120120

121121
| Runtime | Target |
122122
| ------------ | -------- |
123+
| `nodejs16.x` | `node16` |
123124
| `nodejs14.x` | `node14` |
124125
| `nodejs12.x` | `node12` |
125126

src/helper.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ export const doSharePath = (child, parent) => {
142142

143143
export const providerRuntimeMatcher = Object.freeze({
144144
aws: {
145+
'nodejs16.x': 'node16',
145146
'nodejs14.x': 'node14',
146147
'nodejs12.x': 'node12',
147148
},

0 commit comments

Comments
 (0)