Files
marketplaces/.github/workflows/architecture-governance.yml
sdarbinyan 20e03d4340
Some checks failed
Architecture Governance / architecture (push) Has been cancelled
ci: run Angular 22 on Node 24
2026-08-20 14:49:58 +04:00

50 lines
1.2 KiB
YAML

name: Architecture Governance
on:
push:
branches:
- '**'
pull_request:
jobs:
architecture:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 24
cache: npm
- name: Install Dependencies
run: npm ci
- name: Enforce Boundaries
run: npm run arch:check
# Was entirely missing before 2026-08-18: this workflow built and
# checked boundaries but never ran a single test. karma.conf.js's
# CHROME_BIN fallback is a Windows path, which the ubuntu-latest
# runner doesn't have - browser-actions/setup-chrome supplies one
# and CHROME_BIN below points at it explicitly.
- name: Setup Chrome
id: setup-chrome
uses: browser-actions/setup-chrome@v1
- name: Unit tests with coverage gate
env:
CHROME_BIN: ${{ steps.setup-chrome.outputs.chrome-path }}
run: npm run test:coverage
- name: Build
run: npm run build
- name: E2E
run: |
npx playwright install --with-deps chromium
npm run e2e