aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/ci.yml
diff options
context:
space:
mode:
authorClaude <noreply@anthropic.com>2026-02-17 06:36:50 +0000
committerClaude <noreply@anthropic.com>2026-02-17 06:36:50 +0000
commitdcda4db1e3424407c3ce13ae9b901eb12d2b7326 (patch)
treea587095a88d2931395ba01e15b9dcd94a9179486 /.github/workflows/ci.yml
parent5f46e1222417503b710bef375831ee75dfbcb3fc (diff)
downloadneko-dcda4db1e3424407c3ce13ae9b901eb12d2b7326.tar.gz
neko-dcda4db1e3424407c3ce13ae9b901eb12d2b7326.tar.bz2
neko-dcda4db1e3424407c3ce13ae9b901eb12d2b7326.zip
Re-enable GitHub CI with updated paths (NK-tktg7s)
- Re-enable push/PR triggers on master branch - Frontend job: use ./frontend-vanilla (was ./frontend, which no longer exists) - ui-check: check web/dist/v3/ (was web/dist/v2/) - Backend dummy assets: create web/dist/v3 (was web/dist/v2) - Remove frontend lint step (no lint script in frontend-vanilla) - Remove E2E job (disabled in Makefile, no playwright setup in v3) https://claude.ai/code/session_01DpWhB9uGGMBnzqS28HxnuV
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r--.github/workflows/ci.yml51
1 files changed, 10 insertions, 41 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 62223c5..aa754be 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -1,11 +1,11 @@
name: CI
on:
+ push:
+ branches: [ master ]
+ pull_request:
+ branches: [ master ]
workflow_dispatch:
- # push:
- # branches: [ master ]
- # pull_request:
- # branches: [ master ]
jobs:
backend:
@@ -21,8 +21,8 @@ jobs:
- name: Create dummy assets for embed
run: |
- mkdir -p web/dist/v2
- touch web/dist/v2/dummy
+ mkdir -p web/dist/v3
+ touch web/dist/v3/dummy
- name: Vet
run: go vet ./...
@@ -40,7 +40,7 @@ jobs:
runs-on: ubuntu-latest
defaults:
run:
- working-directory: ./frontend
+ working-directory: ./frontend-vanilla
steps:
- uses: actions/checkout@v4
@@ -49,14 +49,11 @@ jobs:
with:
node-version: '20'
cache: 'npm'
- cache-dependency-path: frontend/package-lock.json
+ cache-dependency-path: frontend-vanilla/package-lock.json
- name: Install dependencies
run: npm ci
- - name: Lint
- run: npm run lint
-
- name: Test
run: npm test -- --run
@@ -71,37 +68,9 @@ jobs:
node-version: '20'
- name: Build assets
run: |
- make ui
+ make ui-vanilla
- name: Check for diff
- run: git diff --exit-code web/dist/v2/
-
- e2e:
- name: E2E Tests
- runs-on: ubuntu-latest
- needs: [backend, frontend, ui-check]
- steps:
- - uses: actions/checkout@v4
-
- - name: Set up Go
- uses: actions/setup-go@v5
- with:
- go-version: '1.24'
-
- - name: Set up Node
- uses: actions/setup-node@v4
- with:
- node-version: '20'
- cache: 'npm'
- cache-dependency-path: frontend/package-lock.json
-
- - name: Install dependencies
- run: |
- cd frontend
- npm ci
- npx playwright install --with-deps chromium
-
- - name: Run E2E tests
- run: ./scripts/run_e2e_safe.sh
+ run: git diff --exit-code web/dist/v3/
docker:
name: Docker Build & Test