Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 46 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: CI Gate

on:
pull_request:
push:
branches:
- main
workflow_dispatch:

jobs:
build-and-test:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
cache-dependency-path: server/package-lock.json

- name: Install dependencies
working-directory: server
run: npm ci

- name: Build
working-directory: server
run: npm run build

- name: Run selftest fast
if: github.event_name == 'pull_request'
working-directory: server
run: npm run selftest:fast

- name: Run selftest core
if: github.event_name == 'push'
working-directory: server
run: npm run selftest:core

- name: Run selftest full
if: github.event_name == 'workflow_dispatch'
working-directory: server
run: npm run selftest:full
49 changes: 46 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,41 +1,84 @@
# Dependencies
# ==============================
# Node / TypeScript
# ==============================

node_modules/
.pnp
.pnp.js

# Build outputs
dist/
build/
extension/dist/
*.tsbuildinfo

# ==============================
# Python
# ==============================

__pycache__/
*.py[cod]
*.pyo
*.pyd

*.egg-info/
.eggs/

build/
dist/

# Virtual environments
.venv/
venv/
env/

# ==============================
# Environment
# ==============================

.env
.env.local
.env.*.local

# ==============================
# Logs
# ==============================

logs/
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# ==============================
# IDE
# ==============================

.idea/
.vscode/
*.swp
*.swo
*~

# ==============================
# OS
# ==============================

.DS_Store
Thumbs.db

# ==============================
# Test
# ==============================

coverage/
.nyc_output/

# ==============================
# Temp
# ==============================

tmp/
temp/
temp/

.vite-test/
server/bench/out/
Loading
Loading