npm run dev 
workflow.yml and properly setup the secrets as attached but I get the error that the env variables are missing.npm run build that runs build commands (like astro build or wrangler build for my workers with Hono) then wrangler pages deploy ./dist or wrangler deploy for my workers...etc.

wrangler kv bulk put? I tried following the docs, passing the following JSON:[
{
"key": "key1",
"value": "value1",
"metadata": "{ \"metadata1\": 1 }"
},
{
"key": "key2",
"value": "value2",
"metadata": "{ \"metadata2\": 2 }"
}
]⛅️ wrangler 3.99.0
-------------------
✘ [ERROR] Unexpected JSON input from "kv.json".
Each item in the array should be an object that matches:
interface KeyValue {
key: string;
value: string;
expiration?: number;
expiration_ttl?: number;
metadata?: object;
base64?: boolean;
}
The item at index 0 is {"key":"key1","value":"value1","metadata":"{ \"metadata1\": 1 }"}
The item at index 1 is {"key":"key2","value":"value2","metadata":"{ \"metadata2\": 2 }"}object do we need to pass for the metadata? In contrast, wrangler kv key put --metadata does accept a JSON-serialized string and works as expected.bulk put works as expected if I just pass the key and value, or with the example provided in the docs (passing an expiration_ttl).AiTextGenerationInput, etc. so I'm looking forward to see the direction here. My 2c: it either needs to be a new major workers-types, or walked back so to be an extension of types instead of introducing breaking changes.0.x.x version so RIP semver, which for a GA product is not great.any is forbiddenanynpx @tailwindcss/cli -i input.css -o output.css and then serve thatreaddirp@4.1.0) that caused this problem, but 4.1.1 has now been released to fix itwrangler dev --remote, if I try to do that right now I get the following error:workflow.ymlastro buildwrangler buildwrangler pages deploy ./distwrangler kv bulk put[
{
"key": "key1",
"value": "value1",
"metadata": "{ \"metadata1\": 1 }"
},
{
"key": "key2",
"value": "value2",
"metadata": "{ \"metadata2\": 2 }"
}
]⛅️ wrangler 3.99.0
-------------------
✘ [ERROR] Unexpected JSON input from "kv.json".
Each item in the array should be an object that matches:
interface KeyValue {
key: string;
value: string;
expiration?: number;
expiration_ttl?: number;
metadata?: object;
base64?: boolean;
}
The item at index 0 is {"key":"key1","value":"value1","metadata":"{ \"metadata1\": 1 }"}
The item at index 1 is {"key":"key2","value":"value2","metadata":"{ \"metadata2\": 2 }"}wrangler kv key put --metadatabulk putexpiration_ttlAiTextGenerationInput0.x.xnpx @tailwindcss/cli -i input.css -o output.cssreaddirp@4.1.04.1.1cloudflare/pages-actioncloudflare/wrangler-actionpackage-lock.jsonname: ⚡ Deploy to Cloudflare
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
name: ☁️ Deploy
steps:
- name: 📥 Checkout
uses: actions/checkout@v3
- name: ⚙️ Use Node.js 18.x
uses: actions/setup-node@v1
with:
node-version: 18.x
- name: ⬇️ Install dependencies
run: npm install
- name: 🔨 Build apps & packages
run: npm run build
- name: 🚀 Deploy apps
run: npm run deploy
env:
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
CLOUDFLARE_EMAIL: ${{ secrets.CLOUDFLARE_EMAIL }}