File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,14 +18,13 @@ jobs:
1818 - name : Checkout
1919 uses : actions/checkout@v4
2020
21- - name : Setup Node
22- uses : actions /setup-node@v4
21+ - name : Setup Bun
22+ uses : oven-sh /setup-bun@v2
2323 with :
24- node-version : 20
25- cache : npm
24+ bun-version : latest
2625
2726 - name : Install dependencies
28- run : npm ci
27+ run : bun install --frozen-lockfile
2928
3029 - name : Build site
31- run : npm run build
30+ run : bun run build
Original file line number Diff line number Diff line change @@ -26,17 +26,16 @@ jobs:
2626 - name : Checkout docs branch
2727 uses : actions/checkout@v4
2828
29- - name : Setup Node
30- uses : actions /setup-node@v4
29+ - name : Setup Bun
30+ uses : oven-sh /setup-bun@v2
3131 with :
32- node-version : 20
33- cache : npm
32+ bun-version : latest
3433
3534 - name : Install dependencies
36- run : npm ci
35+ run : bun install --frozen-lockfile
3736
3837 - name : Build site
39- run : npm run build
38+ run : bun run build
4039
4140 - name : Setup Pages
4241 uses : actions/configure-pages@v5
Original file line number Diff line number Diff line change @@ -64,20 +64,19 @@ jobs:
6464 fetch-depth : 0
6565 ref : docs
6666
67- - name : Setup Node.js
68- uses : actions /setup-node@v4
67+ - name : Setup Bun
68+ uses : oven-sh /setup-bun@v2
6969 with :
70- node-version : ' 20'
71- cache : ' npm'
70+ bun-version : latest
7271
7372 - name : Install dependencies
74- run : npm ci
73+ run : bun install --frozen-lockfile
7574
7675 - name : Generate translated docs
77- run : npm run translate:docs
76+ run : bun run translate:docs
7877
7978 - name : Sync docs for Astro content layer
80- run : npm run sync:docs
79+ run : bun run sync:docs
8180
8281 - name : Commit and push updates
8382 run : |
You can’t perform that action at this time.
0 commit comments