Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 46 additions & 0 deletions .github/workflows/pr-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: PR Build Check

on:
pull_request:
types:
- opened
- synchronize
- reopened
- ready_for_review

permissions:
contents: read

concurrency:
group: pr-build-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v4

- uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
cache-dependency-path: |
pnpm-lock.yaml
src/pages/rabbita-home/pnpm-lock.yaml

- name: Setup MoonBit
uses: ./.github/actions/setup

- name: Install website dependencies
run: pnpm install --frozen-lockfile

- name: Check rabbita-home
working-directory: src/pages/rabbita-home
run: moon check

- name: Build website
run: pnpm build
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ static/moonc-worker.js

# Generated files
static/rabbita-home/
static/rabbita-2026-scc-showcase/
src/static/rabbita-home/
.docusaurus
.cache-loader
Expand Down
Loading