From 492b3e75682a8504425942f50c0d8f7928576efa Mon Sep 17 00:00:00 2001 From: a-elkhiraooui-ciscode Date: Mon, 30 Mar 2026 13:36:14 +0100 Subject: [PATCH] chore(COMPT-138): apply repository-wide prettier baseline - Run prettier --write across repository - No logic/behavior changes - Unblocks CI PR Validation format gate for feature PRs - verify passes: lint + typecheck + tests --- .github/dependabot.yml | 12 +++---- .github/workflows/pr-validation.yml | 52 ++++++++++++++--------------- .github/workflows/publish.yml | 6 ++-- .github/workflows/release-check.yml | 10 +++--- 4 files changed, 40 insertions(+), 40 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 9426fdc..8d34dee 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,20 +1,20 @@ version: 2 updates: - package-ecosystem: npm - directory: "/" + directory: '/' schedule: interval: monthly open-pull-requests-limit: 1 groups: npm-dependencies: patterns: - - "*" + - '*' assignees: - CISCODE-MA/cloud-devops labels: - - "dependencies" - - "npm" + - 'dependencies' + - 'npm' commit-message: - prefix: "chore(deps)" - include: "scope" + prefix: 'chore(deps)' + include: 'scope' rebase-strategy: auto diff --git a/.github/workflows/pr-validation.yml b/.github/workflows/pr-validation.yml index 8f5acbc..c8ac0d3 100644 --- a/.github/workflows/pr-validation.yml +++ b/.github/workflows/pr-validation.yml @@ -1,41 +1,41 @@ name: CI - PR Validation on: - pull_request: - branches: [develop] + pull_request: + branches: [develop] permissions: - contents: read + contents: read jobs: - validate: - name: CI - PR Validation - runs-on: ubuntu-latest + validate: + name: CI - PR Validation + runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 + steps: + - name: Checkout + uses: actions/checkout@v4 - - name: Setup Node - uses: actions/setup-node@v4 - with: - node-version: 22 - cache: npm + - name: Setup Node + uses: actions/setup-node@v4 + with: + node-version: 22 + cache: npm - - name: Install - run: npm ci + - name: Install + run: npm ci - - name: Format (check) - run: npm run format + - name: Format (check) + run: npm run format - - name: Lint - run: npm run lint + - name: Lint + run: npm run lint - - name: Typecheck - run: npm run typecheck + - name: Typecheck + run: npm run typecheck - - name: Test - run: npm test + - name: Test + run: npm test - - name: Build - run: npm run build + - name: Build + run: npm run build diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 8016885..ffe4408 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -60,9 +60,9 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: "22" - registry-url: "https://registry.npmjs.org" - cache: "npm" + node-version: '22' + registry-url: 'https://registry.npmjs.org' + cache: 'npm' - name: Install dependencies run: npm ci diff --git a/.github/workflows/release-check.yml b/.github/workflows/release-check.yml index 33082e4..791dd73 100644 --- a/.github/workflows/release-check.yml +++ b/.github/workflows/release-check.yml @@ -18,9 +18,9 @@ jobs: contents: read env: - SONAR_HOST_URL: "https://sonarcloud.io" - SONAR_ORGANIZATION: "ciscode" - SONAR_PROJECT_KEY: "CISCODE-MA_HooksKit" + SONAR_HOST_URL: 'https://sonarcloud.io' + SONAR_ORGANIZATION: 'ciscode' + SONAR_PROJECT_KEY: 'CISCODE-MA_HooksKit' steps: - name: Checkout @@ -31,8 +31,8 @@ jobs: - name: Setup Node uses: actions/setup-node@v4 with: - node-version: "22" - cache: "npm" + node-version: '22' + cache: 'npm' - name: Install run: npm ci