diff --git a/.github/workflows/netlify-edge-functions-test.yml b/.github/workflows/netlify-edge-functions-test.yml index 83150c38be0a..adc110d68ddb 100644 --- a/.github/workflows/netlify-edge-functions-test.yml +++ b/.github/workflows/netlify-edge-functions-test.yml @@ -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 - \ No newline at end of file + run: deno test --allow-env --trace-ops netlify/**/*.test.ts + diff --git a/.gitignore b/.gitignore index 210beb93f6a7..0a69d4de26c5 100644 --- a/.gitignore +++ b/.gitignore @@ -21,3 +21,4 @@ cypress/videos *storybook.log /storybook-static/ coverage +deno.lock