Skip to content

Commit

Permalink
feat: add nodejs16.x runtime support (floydspace#306)
Browse files Browse the repository at this point in the history
  • Loading branch information
TastefulElk authored May 11, 2022
1 parent 2e3803a commit fbf213d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pull.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x, 14.x]
node-version: [12.x, 14.x, 16.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x, 14.x]
node-version: [12.x, 14.x, 16.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ AWS:

| Runtime | Target |
| ------------ | -------- |
| `nodejs16.x` | `node16` |
| `nodejs14.x` | `node14` |
| `nodejs12.x` | `node12` |

Expand Down
1 change: 1 addition & 0 deletions src/helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ export const doSharePath = (child, parent) => {

export const providerRuntimeMatcher = Object.freeze({
aws: {
'nodejs16.x': 'node16',
'nodejs14.x': 'node14',
'nodejs12.x': 'node12',
},
Expand Down

0 comments on commit fbf213d

Please sign in to comment.