ci: test ci build
This commit is contained in:
9
.github/workflows/cf-pages.yaml
vendored
9
.github/workflows/cf-pages.yaml
vendored
@@ -18,13 +18,7 @@ jobs:
|
|||||||
- name: Use PNPM
|
- name: Use PNPM
|
||||||
uses: pnpm/action-setup@v4
|
uses: pnpm/action-setup@v4
|
||||||
with:
|
with:
|
||||||
run_install: false
|
run_install: true
|
||||||
- name: Install Node.js
|
|
||||||
uses: actions/setup-node@v4
|
|
||||||
with:
|
|
||||||
cache: 'pnpm'
|
|
||||||
- name: Install dependencies
|
|
||||||
run: pnpm i
|
|
||||||
- name: Restore cached assets
|
- name: Restore cached assets
|
||||||
id: cache-akassets-restore
|
id: cache-akassets-restore
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
@@ -44,6 +38,7 @@ jobs:
|
|||||||
run: pnpm run cf:download
|
run: pnpm run cf:download
|
||||||
- name: Build all
|
- name: Build all
|
||||||
run: pnpm run operator:build-all
|
run: pnpm run operator:build-all
|
||||||
|
timeout-minutes: 10
|
||||||
- name: Build directory
|
- name: Build directory
|
||||||
run: pnpm run directory:build
|
run: pnpm run directory:build
|
||||||
- name: Publish to Cloudflare Pages
|
- name: Publish to Cloudflare Pages
|
||||||
|
|||||||
Reference in New Issue
Block a user