Skip to content
Merged
Changes from 1 commit
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
39 changes: 39 additions & 0 deletions .github/workflows/root-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
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/**'

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.

- 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
Comment thread
github-advanced-security[bot] marked this conversation as resolved.
Fixed
Comment thread
nazarli-shabnam marked this conversation as resolved.
Outdated
Loading