Skip to content

Commit 506ee08

Browse files
committed
Add Blacksmith build-timing test workflow
1 parent 379e95e commit 506ee08

1 file changed

Lines changed: 64 additions & 0 deletions

File tree

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
name: Blacksmith Build Test
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches:
7+
- ci-blacksmith-build-test
8+
9+
jobs:
10+
build-marketing:
11+
name: Build marketing
12+
runs-on: blacksmith-4vcpu-ubuntu-2404
13+
steps:
14+
- uses: actions/checkout@v4
15+
16+
- uses: oven-sh/setup-bun@v2
17+
with:
18+
bun-version: 1.3.11
19+
20+
- name: Cache Bun package cache
21+
uses: actions/cache@v4
22+
with:
23+
path: ~/.bun/install/cache
24+
key: ${{ runner.os }}-bun-1.3.11-${{ hashFiles('bun.lock') }}
25+
restore-keys: |
26+
${{ runner.os }}-bun-1.3.11-
27+
28+
- uses: actions/setup-node@v4
29+
with:
30+
node-version: 22
31+
32+
- name: Install dependencies
33+
run: bun install --frozen-lockfile
34+
35+
- name: Build marketing
36+
run: bun run --cwd apps/marketing build
37+
38+
build-cloud:
39+
name: Build cloud
40+
runs-on: blacksmith-4vcpu-ubuntu-2404
41+
steps:
42+
- uses: actions/checkout@v4
43+
44+
- uses: oven-sh/setup-bun@v2
45+
with:
46+
bun-version: 1.3.11
47+
48+
- name: Cache Bun package cache
49+
uses: actions/cache@v4
50+
with:
51+
path: ~/.bun/install/cache
52+
key: ${{ runner.os }}-bun-1.3.11-${{ hashFiles('bun.lock') }}
53+
restore-keys: |
54+
${{ runner.os }}-bun-1.3.11-
55+
56+
- uses: actions/setup-node@v4
57+
with:
58+
node-version: 22
59+
60+
- name: Install dependencies
61+
run: bun install --frozen-lockfile
62+
63+
- name: Build cloud
64+
run: bun run --cwd apps/cloud build

0 commit comments

Comments
 (0)