-
-
Notifications
You must be signed in to change notification settings - Fork 692
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: netlify-edge-functions-test for PRs and jest tests (#3229)
- Loading branch information
1 parent
30aeec6
commit 029a88b
Showing
2 changed files
with
7 additions
and
5 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 |
---|---|---|
@@ -1,20 +1,21 @@ | ||
name: Run tests for netlify edge-functions | ||
|
||
on: | ||
workflow_dispatch | ||
pull_request: | ||
types: [opened, reopened, synchronize, ready_for_review] | ||
|
||
jobs: | ||
netlify-tests: | ||
strategy: | ||
matrix: | ||
deno-version: [1.30.0] | ||
deno-version: [1.46.0] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Setup Deno | ||
uses: denolib/setup-deno@v2 | ||
uses: denoland/setup-deno@3a041055d2e2068f6e2c59904ee0ec2dfa9d9665 | ||
with: | ||
deno-version: ${{ matrix.deno-version }} | ||
- name: Test with Deno | ||
run: deno test --allow-env --trace-ops | ||
|
||
run: deno test --allow-env --trace-ops netlify/**/*.test.ts | ||
|
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 |
---|---|---|
|
@@ -21,3 +21,4 @@ cypress/videos | |
*storybook.log | ||
/storybook-static/ | ||
coverage | ||
deno.lock |