Skip to content

Commit a381247

Browse files
committed
building
1 parent 9435ea9 commit a381247

6 files changed

Lines changed: 2388 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Build Worker
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v4
12+
13+
- uses: oven-sh/setup-bun@v2
14+
15+
- name: Install dependencies
16+
run: bun install
17+
18+
- name: Build worker
19+
run: bunx wrangler deploy --dry-run --outdir dist src/index.ts
20+
21+
- name: Upload dist artifact
22+
uses: actions/upload-artifact@v4
23+
with:
24+
name: dist
25+
path: dist/
26+
retention-days: 7

dist/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
This folder contains the built output assets for the worker "r2-uploader-example-worker" generated at 2026-03-19T17:29:34.541Z.

0 commit comments

Comments
 (0)