diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6a5fe53..ead122c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,5 +1,15 @@ name: CI -on: [push, pull_request] +on: + pull_request: + types: + - opened + - reopened + - synchronize + - ready_for_review + push: + branches: + - main + jobs: test: name: Test diff --git a/wrangler.toml b/wrangler.toml index e83985f..12cddbe 100644 --- a/wrangler.toml +++ b/wrangler.toml @@ -1,13 +1,12 @@ name = "caretakerd" main = "src/index.ts" -compatibility_date = "2023-12-19" +compatibility_date = "2024-09-23" +compatibility_flags = ["nodejs_compat"] account_id = "76cbc9ff3d45b6d0e9963e41ddeb9b71" kv_namespaces = [ { binding = "CACHE", id = "0ea59696afaf4d3893499f0f5e06f880", preview_id = "2df54f10101e42bc95adf9cafe119763" } ] -node_compat = true - [site] bucket = "./public"