Skip to content

Commit

Permalink
fix: netlify-edge-functions-test for PRs and jest tests (#3229)
Browse files Browse the repository at this point in the history
  • Loading branch information
anshgoyalevil committed Sep 17, 2024
1 parent 30aeec6 commit 029a88b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/netlify-edge-functions-test.yml
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

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ cypress/videos
*storybook.log
/storybook-static/
coverage
deno.lock

0 comments on commit 029a88b

Please sign in to comment.