Skip to content

Commit

Permalink
Merge pull request #1135 from middyjs/update-website-deployment-action
Browse files Browse the repository at this point in the history
chore(website): Update website-publish.yml
  • Loading branch information
willfarrell authored Nov 15, 2023
2 parents 9a03019 + 82e635e commit 9fddbe1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/website-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ jobs:

strategy:
matrix:
node-version: [18.x]
node-version: [20.x]

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion website/docs/routers/http-router.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ npm install --save @middy/http-router

## Options

- `routes` (array[{method, path, handler}]) (required): Array of route objects.
- `routes` (array[\{method, path, handler\}]) (required): Array of route objects.
- `method` (string) (required): One of `GET`, `POST`, `PUT`, `PATCH`, `DELETE`, `OPTIONS` and `ANY` that will match to any method passed in
- `path` (string) (required): AWS formatted path starting with `/`. Variable: `/{id}/`, Wildcard: `/{proxy+}`
- `handler` (function) (required): Any `handler(event, context)` function
Expand Down
2 changes: 1 addition & 1 deletion website/docs/routers/ws-router.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ npm install --save @middy/ws-router

## Options

- `routes` (array[{routeKey, handler}]) (required): Array of route objects.
- `routes` (array[\{routeKey, handler\}]) (required): Array of route objects.
- `routeKey` (string) (required): AWS formatted route key. ie `$connect`, `$disconnect`, `$default`
- `handler` (function) (required): Any `handler(event, context, {signal})` function

Expand Down

0 comments on commit 9fddbe1

Please sign in to comment.