mirror of
https://github.com/jhd3197/ServerKit.git
synced 2026-12-01 20:55:16 +09:00
Bumps the actions group with 9 updates in the / directory: | Package | From | To | | --- | --- | --- | | [actions/checkout](https://github.com/actions/checkout) | `4` | `7` | | [actions/setup-python](https://github.com/actions/setup-python) | `5` | `7` | | [actions/upload-artifact](https://github.com/actions/upload-artifact) | `4` | `7` | | [actions/setup-node](https://github.com/actions/setup-node) | `4` | `7` | | [actions/download-artifact](https://github.com/actions/download-artifact) | `4` | `8` | | [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) | `3` | `4` | | [docker/build-push-action](https://github.com/docker/build-push-action) | `5` | `7` | | [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) | `3` | `4` | | [docker/login-action](https://github.com/docker/login-action) | `3` | `4` | Updates `actions/checkout` from 4 to 7 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4...v7) Updates `actions/setup-python` from 5 to 7 - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](https://github.com/actions/setup-python/compare/v5...v7) Updates `actions/upload-artifact` from 4 to 7 - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v4...v7) Updates `actions/setup-node` from 4 to 7 - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](https://github.com/actions/setup-node/compare/v4...v7) Updates `actions/download-artifact` from 4 to 8 - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](https://github.com/actions/download-artifact/compare/v4...v8) Updates `docker/setup-buildx-action` from 3 to 4 - [Release notes](https://github.com/docker/setup-buildx-action/releases) - [Commits](https://github.com/docker/setup-buildx-action/compare/v3...v4) Updates `docker/build-push-action` from 5 to 7 - [Release notes](https://github.com/docker/build-push-action/releases) - [Commits](https://github.com/docker/build-push-action/compare/v5...v7) Updates `docker/setup-qemu-action` from 3 to 4 - [Release notes](https://github.com/docker/setup-qemu-action/releases) - [Commits](https://github.com/docker/setup-qemu-action/compare/v3...v4) Updates `docker/login-action` from 3 to 4 - [Release notes](https://github.com/docker/login-action/releases) - [Commits](https://github.com/docker/login-action/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions - dependency-name: actions/download-artifact dependency-version: '8' dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions - dependency-name: actions/setup-node dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions - dependency-name: actions/setup-python dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions - dependency-name: actions/upload-artifact dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions - dependency-name: docker/build-push-action dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions - dependency-name: docker/login-action dependency-version: '4' dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions - dependency-name: docker/setup-buildx-action dependency-version: '4' dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions - dependency-name: docker/setup-qemu-action dependency-version: '4' dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions ... Signed-off-by: dependabot[bot] <support@github.com>
99 lines
3.5 KiB
YAML
99 lines
3.5 KiB
YAML
name: Frontend CI
|
|
|
|
# Run the warning ratchet, repository integrity checks, unit tests and browser
|
|
# regressions. Release Build Smoke Test separately compiles the production app.
|
|
#
|
|
# backend/app/** is in the paths because check-html-sinks scans it too (for
|
|
# `|safe`, `Markup(`, `render_template_string`), so a backend-only commit can
|
|
# introduce a sink this must catch.
|
|
|
|
on:
|
|
push:
|
|
branches: [dev]
|
|
paths:
|
|
- 'frontend/**'
|
|
- 'backend/app/**'
|
|
- 'scripts/check-html-sinks.mjs'
|
|
- '.github/workflows/frontend-ci.yml'
|
|
pull_request:
|
|
branches: [main, dev]
|
|
paths:
|
|
- 'frontend/**'
|
|
- 'backend/app/**'
|
|
- 'scripts/check-html-sinks.mjs'
|
|
- '.github/workflows/frontend-ci.yml'
|
|
workflow_call:
|
|
|
|
jobs:
|
|
lint:
|
|
name: lint
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v7
|
|
- uses: actions/setup-node@v7
|
|
with:
|
|
node-version: '22'
|
|
cache: npm
|
|
cache-dependency-path: frontend/package-lock.json
|
|
- name: Install dependencies
|
|
working-directory: frontend
|
|
run: npm ci
|
|
- name: Lint
|
|
# Reject errors and warning growth by file/rule, then run all integrity
|
|
# checks chained by package.json. Keep the baseline reviewed in Git.
|
|
working-directory: frontend
|
|
run: npm run lint
|
|
- name: Unit tests
|
|
# node --test over src/**/__tests__ — pure-logic modules, no jsdom.
|
|
working-directory: frontend
|
|
run: npm test
|
|
- name: Install browser for regressions
|
|
working-directory: frontend
|
|
run: npx playwright install --with-deps chromium
|
|
- name: Settings browser regressions
|
|
working-directory: frontend
|
|
run: npm run test:browser
|
|
- name: Settings surfaces and assistant browser regressions
|
|
working-directory: frontend
|
|
run: npm run test:settings-ui
|
|
- name: Shared controls browser regressions
|
|
working-directory: frontend
|
|
run: npm run test:controls
|
|
- name: Metrics and widget browser regressions
|
|
working-directory: frontend
|
|
run: npm run test:metrics
|
|
- name: Authentication and layout hooks browser regressions
|
|
working-directory: frontend
|
|
run: npm run test:hooks
|
|
- name: Backup request and form browser regressions
|
|
working-directory: frontend
|
|
run: npm run test:backups
|
|
- name: SVG sanitizer browser regressions
|
|
working-directory: frontend
|
|
run: npm run test:sanitize-svg
|
|
- name: Terminal log viewer browser regressions
|
|
working-directory: frontend
|
|
run: npm run test:terminal-logs
|
|
- name: Docker tabs browser regressions
|
|
working-directory: frontend
|
|
run: npm run test:docker-tabs
|
|
- name: File Manager browser regressions
|
|
working-directory: frontend
|
|
run: npm run test:file-manager
|
|
- name: Effective environment and preview browser regressions
|
|
working-directory: frontend
|
|
run: node scripts/effective-environment-browser.mjs
|
|
- name: Search focus browser regressions
|
|
working-directory: frontend
|
|
run: npm run test:search-focus
|
|
- name: Assistant deployment browser regressions
|
|
working-directory: frontend
|
|
run: npm run test:ai-operations
|
|
- name: Upload Settings screenshots
|
|
if: always()
|
|
uses: actions/upload-artifact@v7
|
|
with:
|
|
name: settings-browser-screenshots
|
|
path: frontend/test-results/
|
|
if-no-files-found: ignore
|