-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add Next 13 request header mutation to middleware (#1866)
* test: add Next 13 request header mutation to middleware * feat: support Next 13 request header mutation * refactor: remove duplicate route conditional * refactor: remove debugger * test: update test to use Deno style of testing include github workflow * style: lint * test: update test command * refactor: remove debugger statement that snuck in * fix: add the modified middleware headers to the request, not response update the related tests * style: lint * fix: remove debugger * test: move tests for request headers into standard
- Loading branch information
1 parent
0caeab8
commit 5d60191
Showing
8 changed files
with
413 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: Deno tests | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
pull_request: | ||
branches: [main] | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Git Checkout Deno Module | ||
uses: actions/checkout@v2 | ||
- name: Use Deno Version ${{ matrix.deno-version }} | ||
uses: denolib/setup-deno@v2 | ||
with: | ||
deno-version: vx.x.x | ||
- name: Test Deno | ||
run: deno test packages/runtime/src/templates/edge-shared/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.