sadisticautism
sadisticautism
CDCloudflare Developers
Created by sadisticautism on 6/25/2023 in #workers-help
How to correctly setup Miniflare & Miniflare Jest Testing with a Cloudflare Worker on GitHub Actions
should be? ./dist/index.mjs"
12 replies
CDCloudflare Developers
Created by sadisticautism on 6/25/2023 in #workers-help
How to correctly setup Miniflare & Miniflare Jest Testing with a Cloudflare Worker on GitHub Actions
Sorted that issue, now I'm getting: ENOENT: no such file or directory, open '/home/runner/work/edge/edge/dist/worker.js'
12 replies
CDCloudflare Developers
Created by sadisticautism on 6/25/2023 in #workers-help
How to correctly setup Miniflare & Miniflare Jest Testing with a Cloudflare Worker on GitHub Actions
Just enable "type":"module"?
12 replies
CDCloudflare Developers
Created by sadisticautism on 6/25/2023 in #workers-help
How to correctly setup Miniflare & Miniflare Jest Testing with a Cloudflare Worker on GitHub Actions
SyntaxError: Unexpected token 'export'
12 replies
CDCloudflare Developers
Created by sadisticautism on 6/25/2023 in #workers-help
How to correctly setup Miniflare & Miniflare Jest Testing with a Cloudflare Worker on GitHub Actions
Getting closer, export default {
12 replies
CDCloudflare Developers
Created by sadisticautism on 6/25/2023 in #workers-help
How to correctly setup Miniflare & Miniflare Jest Testing with a Cloudflare Worker on GitHub Actions
All packages are supported on 18
12 replies
CDCloudflare Developers
Created by sadisticautism on 6/25/2023 in #workers-help
How to correctly setup Miniflare & Miniflare Jest Testing with a Cloudflare Worker on GitHub Actions
Failing up to: Run npm run miniflare &
[email protected] miniflare npx miniflare ../src/index.ts
npm ERR! could not determine executable to run npm ERR! A complete log of this run can be found in: npm ERR! /home/runner/.npm/_logs/2023-06-25T14_10_26_499Z-debug-0.log npm ERR! Missing script: "test" npm ERR! npm ERR! To see a list of scripts, run: npm ERR! npm run npm ERR! A complete log of this run can be found in: npm ERR! /home/runner/.npm/_logs/2023-06-25T14_10_31_205Z-debug-0.log Error: Process completed with exit code 1.
12 replies
CDCloudflare Developers
Created by sadisticautism on 6/25/2023 in #workers-help
How to correctly setup Miniflare & Miniflare Jest Testing with a Cloudflare Worker on GitHub Actions
Negatory, will update that now see if it helps.
12 replies