Skip to content

Commit 48f3baa

Browse files
committed
Add test workflow to verify GitHub Actions is working
1 parent c837fcd commit 48f3baa

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
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

0 commit comments

Comments
 (0)