fix: ci
Some checks failed
ci / build-ui (push) Failing after 6s
ci / test (push) Successful in 2m56s
ci / publish (push) Has been skipped

This commit is contained in:
Matthew McPeak 2026-06-17 16:07:11 -04:00
parent 8ca1a77f9d
commit 0b18ef0164
Signed by: McPeakML
GPG key ID: 3D64A2E70F58D07C
4 changed files with 11 additions and 5 deletions

View file

@ -41,14 +41,11 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Inject Auth
run: echo "//git.mcpeakdev.com/api/packages/McPeakDev/npm/:_authToken=${BUN_AUTH_TOKEN}" > /root/.npmrc
env:
BUN_AUTH_TOKEN: ${{ secrets.BUN_AUTH_TOKEN }}
- name: Install dependencies
run: bun install --frozen-lockfile
working-directory: ui
env:
BUN_AUTH_TOKEN: ${{ secrets.BUN_AUTH_TOKEN }}
- name: Audit dependencies
run: bun audit || true
@ -92,3 +89,5 @@ jobs:
git.mcpeakdev.com/mcpeakdev/mercury:latest
cache-from: type=registry,ref=git.mcpeakdev.com/mcpeakdev/mercury:latest
cache-to: type=inline
secrets: |
bun_auth_token=${{ secrets.BUN_AUTH_TOKEN }}

View file

@ -2,6 +2,10 @@
FROM oven/bun:1-alpine AS ui-builder
WORKDIR /ui
COPY ui/ .
RUN --mount=type=secret,id=bun_auth_token \
printf '//git.mcpeakdev.com/api/packages/McPeakDev/npm/:_authToken=%s\n@nychthemeron:registry=https://git.mcpeakdev.com/api/packages/McPeakDev/npm/\n' \
"$(cat /run/secrets/bun_auth_token)" > .npmrc && \
bun install --frozen-lockfile
RUN bun run build
# Stage 2: Build Rust API

1
ui/.gitignore vendored
View file

@ -1,5 +1,6 @@
node_modules/
dist/
.npmrc
# vue-tsc emit artifacts (should never appear in src/ — noEmit is set)
src/**/*.vue.js

2
ui/bunfig.toml Normal file
View file

@ -0,0 +1,2 @@
[install.scopes]
"@nychthemeron" = { url = "https://git.mcpeakdev.com/api/packages/McPeakDev/npm/" }