Compare commits

..
2 Commits
Author SHA1 Message Date
SerinaNya beb826e7d6 💚 fix ci: add ACTIONS_RESULTS_URL for actions/upload-artifact@v4
Build Dashboard / build (push) Successful in 5m24s
2026-09-03 15:54:46 +08:00
SerinaNya f2dae09b6b 👷 ci: add build workflow
Build Dashboard / build (push) Failing after 6m49s
2026-09-01 15:02:38 +08:00
+39
View File
@@ -0,0 +1,39 @@
name: Build Dashboard
on:
push:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out source
uses: actions/checkout@v4
- name: Set up pnpm
uses: pnpm/action-setup@v4
with:
version: 11
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 24
cache: pnpm
cache-dependency-path: pnpm-lock.yaml
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build dashboard
run: pnpm build
- name: Upload dashboard artifact
uses: actions/upload-artifact@v4
env:
ACTIONS_RESULTS_URL: https://git.code.cq.cn/
with:
name: dashboard-dist
path: dist/
if-no-files-found: error
retention-days: 14