arch(sprint1): enforce boundaries and cycle checks in ci
This commit is contained in:
30
.github/workflows/architecture-governance.yml
vendored
Normal file
30
.github/workflows/architecture-governance.yml
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
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: 20
|
||||
cache: npm
|
||||
|
||||
- name: Install Dependencies
|
||||
run: npm ci
|
||||
|
||||
- name: Enforce Boundaries
|
||||
run: npm run arch:check
|
||||
|
||||
- name: Build
|
||||
run: npm run build
|
||||
Reference in New Issue
Block a user