mirror of
https://github.com/anand34577/ferrum.git
synced 2026-10-03 20:20:24 +00:00
Fix CI build and untrack local-only files
- ci.yml: build the frontend before go vet/build/test — web/embed.go's //go:embed all:dist has no dist/ to embed otherwise (dist/ is gitignored, not committed), which was failing every CI run with "pattern all:dist: no matching files found". - Untrack Claude-Account-1.cmd (personal local launcher script, already gitignored — file stays on disk, just stops being pushed). - README: rework the Screenshots section into a proper 2-column HTML table gallery with clickable thumbnails, instead of ten full-width images stacked one after another.
This commit is contained in:
@@ -23,6 +23,18 @@ jobs:
|
||||
- uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version-file: go.mod
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: "22"
|
||||
cache: npm
|
||||
cache-dependency-path: web/package-lock.json
|
||||
# web/embed.go does `//go:embed all:dist` — go build/vet/test all
|
||||
# fail without a built frontend to embed, so build it first.
|
||||
- name: Build frontend (for go:embed)
|
||||
run: |
|
||||
cd web
|
||||
npm ci
|
||||
npm run build
|
||||
- run: go vet ./...
|
||||
- run: go build ./...
|
||||
- run: go test ./...
|
||||
|
||||
Reference in New Issue
Block a user