aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorAdam Mathes <adam@adammathes.com>2026-02-17 07:57:52 -0800
committerGitHub <noreply@github.com>2026-02-17 07:57:52 -0800
commit5c3b6234caf8b6c27f37d67d4e04c853e59888ef (patch)
tree3abc994bd8ac3699449cf37ca25ce34610657588 /.github/workflows
parentc15995fe944a6e8f3e68cf0c44fd454e53f21081 (diff)
parent7f0b9ae0f53f26304d26a8d45191f268821425c8 (diff)
downloadneko-5c3b6234caf8b6c27f37d67d4e04c853e59888ef.tar.gz
neko-5c3b6234caf8b6c27f37d67d4e04c853e59888ef.tar.bz2
neko-5c3b6234caf8b6c27f37d67d4e04c853e59888ef.zip
Merge pull request #9 from adammathes/claude/fix-open-tickets-IVV1C
Update benchmarks, fix SSRF proxy bypass, and refactor frontend sidebar layout
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yml53
1 files changed, 11 insertions, 42 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 62223c5..4dcc48a 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,14 +21,14 @@ 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 ./...
- name: Lint
- uses: golangci/golangci-lint-action@v4
+ uses: golangci/golangci-lint-action@v6
with:
version: v2.9.0
@@ -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