Skip to content

Commit b71b63d

Browse files
committed
fix(scraper): wrangler deployment
1 parent e19f494 commit b71b63d

File tree

6 files changed

+9
-6
lines changed

6 files changed

+9
-6
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
node-version: 20
3939

4040
- name: 📦 Install dependencies
41-
run: bun install
41+
run: bun ci
4242

4343
- name: 🔍 Type Check
4444
run: bun check:types
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: deploy (scraper)
1+
name: scraper
22

33
on:
44
push:
@@ -23,3 +23,5 @@ jobs:
2323
uses: cloudflare/wrangler-action@v3
2424
with:
2525
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
26+
packageManager: bun
27+
workingDirectory: apps/scraper
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: deploy (web)
1+
name: web
22

33
on:
44
push:

apps/scraper/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@
1414
},
1515
"devDependencies": {
1616
"@biomejs/biome": "2.2.4",
17-
"wrangler": "^4.4.0"
17+
"wrangler": "^4.40.2"
1818
}
1919
}

apps/scraper/wrangler.jsonc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"$schema": "../../node_modules/wrangler/config-schema.json",
33
"name": "scraper",
44
"main": "src/index.ts",
5+
"minify": true,
56
"compatibility_date": "2025-09-26"
67
// "compatibility_flags": [
78
// "nodejs_compat"

bun.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)