We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f981188 commit 69698f4Copy full SHA for 69698f4
1 file changed
.github/workflows/ci.yml
@@ -0,0 +1,33 @@
1
+name: CI
2
+on:
3
+ push:
4
+ branches: [ main ]
5
+ pull_request:
6
7
+jobs:
8
+ test:
9
+ runs-on: ubuntu-latest
10
+ timeout-minutes: 60
11
+ steps:
12
+ - uses: actions/checkout@v4
13
+ - uses: actions/setup-node@v4
14
+ with:
15
+ node-version: 24
16
+ - run: npm ci
17
+ - run: npm run test
18
+
19
+ deploy:
20
+ if: github.ref == 'refs/heads/main'
21
+ needs: test
22
23
24
25
26
27
28
29
+ - name: Build & Deploy Worker
30
+ uses: cloudflare/wrangler-action@v3
31
32
+ accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
33
+ apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
0 commit comments