Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions .github/workflows/root-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Root CI

on:
pull_request:
branches: [main]
paths:
- 'docker-compose.yml'
- 'package.json'
- 'package-lock.json'
- 'commitlint.config.cjs'
- 'lint-staged.config.mjs'
- '.husky/**'
- '.github/workflows/**'

permissions:
contents: read

jobs:
validate:
runs-on: ubuntu-latest
steps:
Comment thread
coderabbitai[bot] marked this conversation as resolved.
- name: Checkout
uses: actions/checkout@v4
Comment thread
nazarli-shabnam marked this conversation as resolved.
Comment thread
coderabbitai[bot] marked this conversation as resolved.
with:
persist-credentials: false

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: "22"
cache: npm
cache-dependency-path: package-lock.json

- name: Validate docker-compose.yml
run: docker compose config --quiet

- name: Check lint-staged.config.mjs syntax
run: node --check lint-staged.config.mjs

- name: Check commitlint.config.cjs syntax
run: node --check commitlint.config.cjs

- name: Install root dependencies
run: npm ci --ignore-scripts
Loading