Revert "feat: add separate pages-dev-server background job"

This reverts commit c06b261c65.
This commit is contained in:
snomiao
2025-10-16 01:28:41 +00:00
parent c06b261c65
commit c3628e5968

View File

@@ -14,35 +14,6 @@ on:
workflow_dispatch:
jobs:
pages-dev-server:
runs-on: ubuntu-latest
if: github.event_name == 'workflow_dispatch' || github.event_name == 'push' || github.event.workflow_run.conclusion == 'success'
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Install bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 10
- name: Setup Node.js
uses: actions/setup-node@v5
with:
node-version: '24'
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Run pages dev server
run: bun pages:dev
incremental-build:
runs-on: ubuntu-latest
# Only run if the triggering workflow succeeded (or manual dispatch/push)