ci: test ci build

This commit is contained in:
Haoyu Xu
2025-02-09 12:54:12 +08:00
parent 3f7085c3e9
commit a7c161691d

View File

@@ -18,13 +18,7 @@ jobs:
- name: Use PNPM
uses: pnpm/action-setup@v4
with:
run_install: false
- name: Install Node.js
uses: actions/setup-node@v4
with:
cache: 'pnpm'
- name: Install dependencies
run: pnpm i
run_install: true
- name: Restore cached assets
id: cache-akassets-restore
uses: actions/cache@v4
@@ -44,6 +38,7 @@ jobs:
run: pnpm run cf:download
- name: Build all
run: pnpm run operator:build-all
timeout-minutes: 10
- name: Build directory
run: pnpm run directory:build
- name: Publish to Cloudflare Pages