1 |
rakinar2 |
619 |
name: Docs Build |
2 |
|
|
|
3 |
|
|
on: [ push, pull_request ] |
4 |
|
|
|
5 |
|
|
jobs: |
6 |
|
|
build: |
7 |
|
|
runs-on: ubuntu-latest |
8 |
|
|
|
9 |
|
|
defaults: |
10 |
|
|
run: |
11 |
|
|
working-directory: ./docs |
12 |
|
|
|
13 |
|
|
steps: |
14 |
|
|
- name: Checkout |
15 |
|
|
uses: actions/checkout@v4 |
16 |
|
|
|
17 |
|
|
- name: Setup Node.js environment |
18 |
|
|
uses: actions/setup-node@v4 |
19 |
|
|
with: |
20 |
|
|
node-version: 22 |
21 |
|
|
|
22 |
|
|
- name: Setup Bun |
23 |
|
|
uses: oven-sh/setup-bun@v2 |
24 |
|
|
with: |
25 |
|
|
bun-version: latest |
26 |
|
|
|
27 |
|
|
- name: Install Dependencies |
28 |
|
|
run: bun install -D |
29 |
|
|
|
30 |
|
|
- name: Create a production build |
31 |
|
|
run: bun run build |