ReviewOS

also looking at this

stacks/ts-tokens

chore(deps): update all non-major dependencies

#418
Closed chris wants to merge buddy-bot/update-non-major-updates-1770683029988 into main
11 files +442 -40
.github/workflows/docs.ymladded+60-0
Changes to .github/workflows/docs.yml
@@ -0,0 +1,60 @@
1name: Deploy Docs
2
3on:
4 push:
5 branches: [main]
6 paths:
7 - 'docs/**'
8 - '.github/workflows/docs.yml'
9 workflow_dispatch:
10
11permissions:
12 contents: read
13 pages: write
14 id-token: write
15
16concurrency:
17 group: pages
18 cancel-in-progress: false
19
20jobs:
21 build:
22 runs-on: ubuntu-latest
23 steps:
24 - name: Checkout
25 uses: actions/checkout@v4
26 with:
27 fetch-depth: 0
28
29 - name: Setup Bun
30 uses: oven-sh/setup-bun@v2
31
32 - name: Use Cached node_modules
33 uses: actions/cache@v4
34 with:
35 path: node_modules
36 key: node-modules-${{ hashFiles('**/bun.lock') }}
37 restore-keys: |
38 node-modules-
39
40 - name: Install Dependencies
41 run: bun install
42
43 - name: Build Documentation
44 run: bun run build:docs
45
46 - name: Upload Pages Artifact
47 uses: actions/upload-pages-artifact@v3
48 with:
49 path: docs/.vitepress/dist
50
51 deploy:
52 environment:
53 name: github-pages
54 url: ${{ steps.deployment.outputs.page_url }}
55 needs: build
56 runs-on: ubuntu-latest
57 steps:
58 - name: Deploy to GitHub Pages
59 id: deployment
60 uses: actions/deploy-pages@v4.0.5