26 lines
698 B
YAML
26 lines
698 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches: [master]
|
|
pull_request:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
# Homelab runners: no Chromium/Xvfb for the old preview/docs e2e suite.
|
|
# Keep a reliable lint gate until export can run headless in a dedicated job.
|
|
core:
|
|
runs-on: [homelab, self-hosted, linux, node]
|
|
container:
|
|
image: node:20-bookworm
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Install and lint
|
|
run: |
|
|
set -e
|
|
export NODE_OPTIONS="${NODE_OPTIONS:+$NODE_OPTIONS }--openssl-legacy-provider"
|
|
npm install
|
|
# Gate on Vue/app sources; scripts/* currently has style debt from export tooling.
|
|
npx eslint --ext .js,.vue src
|