File tree Expand file tree Collapse file tree 3 files changed +67
-0
lines changed
Expand file tree Collapse file tree 3 files changed +67
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Cloudflare Basic
2+
3+ on :
4+ push :
5+ branches :
6+ - cursor/add-cloudflare-worker-to-test-matrix-3aca
7+ workflow_dispatch :
8+
9+ jobs :
10+ test :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - uses : actions/checkout@v4
14+ - name : Setup Node.js
15+ uses : actions/setup-node@v4
16+ with :
17+ node-version : ' 20'
18+ - name : Install dependencies
19+ run : npm ci
20+ - name : Install Wrangler
21+ run : npm install -g wrangler@latest
22+ - name : Build
23+ run : npm run build
24+ - name : Test
25+ run : echo "Cloudflare test would run here"
Original file line number Diff line number Diff line change 1+ name : Cloudflare Test Simple
2+
3+ on :
4+ push :
5+ branches :
6+ - cursor/add-cloudflare-worker-to-test-matrix-3aca
7+ - main
8+ pull_request :
9+ branches :
10+ - main
11+ workflow_dispatch :
12+
13+ jobs :
14+ test-cloudflare :
15+ name : Test Cloudflare Workers
16+ runs-on : ubuntu-latest
17+ steps :
18+ - name : Checkout code
19+ uses : actions/checkout@v4
20+
21+ - name : Setup Node.js
22+ uses : actions/setup-node@v4
23+ with :
24+ node-version : ' 20'
25+ cache : ' npm'
26+
27+ - name : Install dependencies
28+ run : npm ci
29+
30+ - name : Install Wrangler CLI
31+ run : npm install -g wrangler@latest
32+
33+ - name : Build the SDK
34+ run : npm run build
35+
36+ - name : Test Cloudflare Workers compatibility
37+ run : |
38+ echo "🧪 Testing Cloudflare Workers compatibility..."
39+ npm run test:cloudflare
Original file line number Diff line number Diff line change 3737 echo "NPM version: $(npm --version)"
3838 echo "Current branch: $(git branch --show-current)"
3939
40+ - name : Install Wrangler CLI
41+ run : npm install -g wrangler@latest
42+
4043 - name : Test Cloudflare Workers compatibility
4144 run : |
4245 echo "🧪 Testing Cloudflare Workers compatibility..."
You can’t perform that action at this time.
0 commit comments