fix bee-dashboard build
CI / node-build (push) Failing after 2m14s
CI / docker-build (push) Has been skipped
CI / deploy (push) Has been skipped

This commit is contained in:
2026-06-23 06:50:37 +08:00
parent 71deed7df1
commit 051d6e6d23
+8 -6
View File
@@ -9,24 +9,26 @@ jobs:
node-build: node-build:
runs-on: hostinger runs-on: hostinger
container: container:
image: ghcr.io/pnpm/pnpm:11.8.0 image: gitea.woggioni.net/woggioni/gitea-runner/pnpm:latest
steps: steps:
- name: Checkout sources - name: Checkout sources
uses: actions/checkout@v6 uses: actions/checkout@v6
with: with:
path: docker-images path: docker-images
- name: Checkout bee-dashboard sources - name: Checkout bee-dashboard sources
run: /usr/sbin/git clone -b 0.35.1 --depth 1 https://gitea.woggioni.net/woggioni/bee-dashboard.git src run: git clone -b v0.35.1 --depth 1 https://gitea.woggioni.net/woggioni/bee-dashboard.git src
- name: Prepare build
run: pnpm install --frozen-lockfile
working-directory: ./src
- name: Execute build - name: Execute build
run: cd src run: pnpm run build
- run: pnpm install --frozen-lockfile working-directory: ./src
- run: pnpm run build
- name: Copy _headers file - name: Copy _headers file
run: cp docker-images/bee-dashboard/_headers src/build run: cp docker-images/bee-dashboard/_headers src/build
- name: Create archive - name: Create archive
run: tar -czf docker-images/bee-dashboard/bee-dashboard.tar -C src/build . run: tar -czf docker-images/bee-dashboard/bee-dashboard.tar -C src/build .
- name: Upload folder as artifact - name: Upload folder as artifact
uses: actions/upload-artifact@v4 uses: https://gitea.com/actions/gitea-upload-artifact@v4
with: with:
name: build-artifact name: build-artifact
path: docker-images/bee-dashboard/bee-dashboard.tar path: docker-images/bee-dashboard/bee-dashboard.tar