File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed
Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Test Workflow
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-basic :
15+ name : Test Basic Functionality
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 : Build the SDK
31+ run : npm run build
32+
33+ - name : Run basic test
34+ run : |
35+ echo "✅ Basic workflow is working!"
36+ echo "Node.js version: $(node --version)"
37+ echo "NPM version: $(npm --version)"
38+ echo "Current branch: $(git branch --show-current)"
39+
40+ - name : Test Cloudflare Workers compatibility
41+ run : |
42+ echo "🧪 Testing Cloudflare Workers compatibility..."
43+ npm run test:cloudflare
You can’t perform that action at this time.
0 commit comments