719032b19f
Update Schema / Update configuration json schema (push) Has been cancelled
Memory Benchmark / Memory Test (Full Analysis) (push) Has been cancelled
CI Quality / Lint GitHub Actions (actionlint) (push) Has been cancelled
CI Quality / Lint GitHub Actions (zizmor) (push) Has been cancelled
CI Quality / Check typos (push) Has been cancelled
CI / Test coverage (push) Has been cancelled
CI / Test (22.x, windows-latest) (push) Has been cancelled
CI / Test (24.x, macos-latest) (push) Has been cancelled
CI / Test (24.x, ubuntu-latest) (push) Has been cancelled
CI / Test (24.x, windows-latest) (push) Has been cancelled
CI / Test (26.x, macos-latest) (push) Has been cancelled
CI / Test (26.x, ubuntu-latest) (push) Has been cancelled
CI / Test (26.x, windows-latest) (push) Has been cancelled
CI / Test with Bun (latest, macos-latest) (push) Has been cancelled
CI / Test with Bun (latest, ubuntu-latest) (push) Has been cancelled
CI / Test with Bun (latest, windows-latest) (push) Has been cancelled
CI / Build and run (22.x, macos-latest) (push) Has been cancelled
CI / Build and run (22.x, ubuntu-latest) (push) Has been cancelled
CI / Build and run (22.x, windows-latest) (push) Has been cancelled
autofix.ci / autofix (push) Has been cancelled
CI Browser Extension / Lint Browser Extension (push) Has been cancelled
CI Browser Extension / Test Browser Extension (push) Has been cancelled
Memory Benchmark / Memory Test (push) Has been cancelled
CI Website / Lint Website Client (push) Has been cancelled
CI Website / Lint Website Server (push) Has been cancelled
CI Website / Test Website Server (push) Has been cancelled
CI Website / Bundle Website Server (push) Has been cancelled
CI / Lint Biome (push) Has been cancelled
CI / Lint oxlint (push) Has been cancelled
CI / Lint TypeScript (push) Has been cancelled
CI / Lint Secretlint (push) Has been cancelled
CI / Test (22.x, macos-latest) (push) Has been cancelled
CI / Test (22.x, ubuntu-latest) (push) Has been cancelled
CI / Build and run (24.x, macos-latest) (push) Has been cancelled
CI / Build and run (24.x, ubuntu-latest) (push) Has been cancelled
CI / Build and run (24.x, windows-latest) (push) Has been cancelled
CI / Build and run (26.x, macos-latest) (push) Has been cancelled
CI / Build and run (26.x, ubuntu-latest) (push) Has been cancelled
CI / Build and run (26.x, windows-latest) (push) Has been cancelled
CI / Build and run with Bun (latest, macos-latest) (push) Has been cancelled
CI / Build and run with Bun (latest, ubuntu-latest) (push) Has been cancelled
CI / Build and run with Bun (latest, windows-latest) (push) Has been cancelled
CodeQL / Analyze (javascript-typescript) (push) Has been cancelled
Docker / build (linux/amd64, ubuntu-latest) (push) Has been cancelled
Docker / build (linux/arm/v7, ubuntu-24.04-arm) (push) Has been cancelled
Docker / build (linux/arm64, ubuntu-24.04-arm) (push) Has been cancelled
Docker / merge (push) Has been cancelled
Pack repository with Repomix / pack-repo (push) Has been cancelled
Performance Benchmark History / Benchmark (macos-latest) (push) Has been cancelled
Performance Benchmark History / Benchmark (ubuntu-latest) (push) Has been cancelled
Performance Benchmark History / Benchmark (windows-latest) (push) Has been cancelled
Performance Benchmark History / Store Results (push) Has been cancelled
Test Repomix Action / Test Node.js 22 (push) Has been cancelled
Test Repomix Action / Test Node.js 24 (push) Has been cancelled
Test Repomix Action / Test Node.js 26 (push) Has been cancelled
148 lines
4.9 KiB
YAML
148 lines
4.9 KiB
YAML
name: CI Website
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
paths:
|
|
- 'website/**'
|
|
- 'src/**'
|
|
- 'package.json'
|
|
- 'package-lock.json'
|
|
- '.tool-versions'
|
|
- '.github/workflows/ci-website.yml'
|
|
pull_request:
|
|
branches: [main]
|
|
paths:
|
|
- 'website/**'
|
|
- 'src/**'
|
|
- 'package.json'
|
|
- 'package-lock.json'
|
|
- '.tool-versions'
|
|
- '.github/workflows/ci-website.yml'
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
lint-website-client:
|
|
name: Lint Website Client
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 10
|
|
steps:
|
|
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
|
with:
|
|
persist-credentials: false
|
|
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
|
|
with:
|
|
node-version-file: .tool-versions
|
|
cache: npm
|
|
- name: Install website client dependencies
|
|
working-directory: website/client
|
|
run: npm ci
|
|
- name: Lint website client
|
|
working-directory: website/client
|
|
run: node --run lint
|
|
- name: Build website client
|
|
working-directory: website/client
|
|
run: node --run docs:build
|
|
|
|
lint-website-server:
|
|
name: Lint Website Server
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 10
|
|
steps:
|
|
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
|
with:
|
|
persist-credentials: false
|
|
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
|
|
with:
|
|
node-version-file: .tool-versions
|
|
cache: npm
|
|
- name: Build and link local repomix
|
|
run: |
|
|
npm ci
|
|
node --run build
|
|
npm link
|
|
- name: Install website server dependencies
|
|
working-directory: website/server
|
|
run: |
|
|
# npm 12 fails to prepare the github:repomix git dependency: its prep
|
|
# child process re-reads .npmrc (min-release-age=7) and hits npm's own
|
|
# --before, which cannot coexist. Setting npm_config_min_release_age=0
|
|
# does not help (0 still counts as "provided", and the child re-reads
|
|
# .npmrc), so downgrade to npm 11.4.0, which predates the flag.
|
|
# Matches website/server/Dockerfile.
|
|
npm install -g npm@11.4.0
|
|
npm ci
|
|
npm link repomix
|
|
- name: Lint website server
|
|
working-directory: website/server
|
|
run: node --run lint
|
|
|
|
test-website-server:
|
|
name: Test Website Server
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 10
|
|
steps:
|
|
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
|
with:
|
|
persist-credentials: false
|
|
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
|
|
with:
|
|
node-version-file: .tool-versions
|
|
cache: npm
|
|
- name: Build and link local repomix
|
|
run: |
|
|
npm ci
|
|
node --run build
|
|
npm link
|
|
- name: Install website server dependencies
|
|
working-directory: website/server
|
|
run: |
|
|
# npm 12 fails to prepare the github:repomix git dependency: its prep
|
|
# child process re-reads .npmrc (min-release-age=7) and hits npm's own
|
|
# --before, which cannot coexist. Setting npm_config_min_release_age=0
|
|
# does not help (0 still counts as "provided", and the child re-reads
|
|
# .npmrc), so downgrade to npm 11.4.0, which predates the flag.
|
|
# Matches website/server/Dockerfile.
|
|
npm install -g npm@11.4.0
|
|
npm ci
|
|
npm link repomix
|
|
- name: Test website server
|
|
working-directory: website/server
|
|
run: node --run test
|
|
|
|
bundle-website-server:
|
|
name: Bundle Website Server
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 10
|
|
steps:
|
|
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
|
with:
|
|
persist-credentials: false
|
|
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
|
|
with:
|
|
node-version-file: .tool-versions
|
|
cache: npm
|
|
- name: Build and link local repomix
|
|
run: |
|
|
npm ci
|
|
node --run build
|
|
npm link
|
|
- name: Install website server dependencies
|
|
working-directory: website/server
|
|
run: |
|
|
# npm 12 fails to prepare the github:repomix git dependency: its prep
|
|
# child process re-reads .npmrc (min-release-age=7) and hits npm's own
|
|
# --before, which cannot coexist. Setting npm_config_min_release_age=0
|
|
# does not help (0 still counts as "provided", and the child re-reads
|
|
# .npmrc), so downgrade to npm 11.4.0, which predates the flag.
|
|
# Matches website/server/Dockerfile.
|
|
npm install -g npm@11.4.0
|
|
npm ci
|
|
npm link repomix
|
|
- name: Bundle website server
|
|
working-directory: website/server
|
|
run: node --run bundle
|