Skip to content

Commit

Permalink
ci: add ssg & build tests
Browse files Browse the repository at this point in the history
Signed-off-by: ZTL-UwU <[email protected]>
  • Loading branch information
ZTL-UwU committed Feb 5, 2025
1 parent d4754e8 commit 966b9ac
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,42 @@ jobs:
- name: Typecheck
run: bun nuxi typecheck

build:
runs-on: ubuntu-latest
steps:
- id: checkout
name: Checkout
uses: actions/checkout@v4
- id: setup-bun
name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- id: install-deps
name: Install dependencies
run: |
bun install
- name: Build
run: bun run build

ssg:
runs-on: ubuntu-latest
steps:
- id: checkout
name: Checkout
uses: actions/checkout@v4
- id: setup-bun
name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- id: install-deps
name: Install dependencies
run: |
bun install
- name: Generate
run: bun run generate

0 comments on commit 966b9ac

Please sign in to comment.