Skip to content

Commit 4ba6707

Browse files
committed
feat: Add build-axoncode GitHub workflow
1 parent aeadf39 commit 4ba6707

1 file changed

Lines changed: 39 additions & 0 deletions

File tree

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Build axoncode
2+
3+
on:
4+
push:
5+
branches-ignore:
6+
- production
7+
pull_request:
8+
branches-ignore:
9+
- production
10+
workflow_dispatch:
11+
12+
jobs:
13+
build:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Checkout repository
17+
uses: actions/checkout@v4
18+
19+
- name: Setup Bun
20+
uses: oven-sh/setup-bun@v1
21+
with:
22+
bun-version: 1.2.21
23+
24+
- name: Install dependencies
25+
run: |
26+
cd packages/axoncode
27+
bun install
28+
29+
- name: Build axoncode
30+
run: |
31+
cd packages/axoncode
32+
bun run build
33+
34+
- name: Upload dist folder
35+
uses: actions/upload-artifact@v4
36+
with:
37+
name: axoncode-dist
38+
path: packages/axoncode/dist/
39+
if-no-files-found: error

0 commit comments

Comments
 (0)