We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1601ab1 commit 76c392aCopy full SHA for 76c392a
.github/workflows/ci.yaml
@@ -0,0 +1,25 @@
1
+name: Worker
2
+
3
+on:
4
+ push:
5
+ paths:
6
+ - "worker/**"
7
+ - ".github/workflows/typecheck.yml"
8
+ pull_request:
9
10
11
12
13
+jobs:
14
+ ci:
15
+ runs-on: ubuntu-latest
16
+ defaults:
17
+ run:
18
+ working-directory: worker
19
+ steps:
20
+ - uses: actions/checkout@v4
21
+ - uses: actions/setup-node@v4
22
+ with:
23
+ node-version: "22.16"
24
+ - run: npm ci
25
+ - run: npm run ci
worker/package.json
@@ -12,6 +12,7 @@
"start": "wrangler dev",
"cf-typegen": "wrangler types",
"typecheck": "npx tsc --noEmit",
+ "ci": "npm run cf-typegen && npm run typecheck",
"reset-secret": "./reset-secret.sh"
},
"devDependencies": {
0 commit comments