Skip to content

Commit

Permalink
feat: cloudflare worker test script
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastien Ringrose committed Mar 2, 2024
1 parent 54c0741 commit 8545c6b
Show file tree
Hide file tree
Showing 8 changed files with 1,330 additions and 7 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,16 @@ jobs:

- name: Bun run
run: bun run tests/scripts/bun.ts

test-cloudflare-workers:
runs-on: ubuntu-latest

steps:
- name: Setup repo
uses: actions/checkout@v3

- name: Setup Wrangler
uses: cloudflare/wrangler-action@v3

- name: Wrangler run dev
run: wrangler dev tests/scripts/cloudflareWorker.ts
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# MacOS gross history thingy
**/.DS_Store

# Cloudflare workers
.wrangler/*

coverage/
node_modules
3 changes: 0 additions & 3 deletions .vscode/settings.json

This file was deleted.

Loading

1 comment on commit 8545c6b

@deno-deploy
Copy link

@deno-deploy deno-deploy bot commented on 8545c6b Mar 2, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Failed to deploy:

Module not found "file:///src/index".

Please sign in to comment.