From 37c5386dd23e9a074e2ccf1711af9b98106d657e Mon Sep 17 00:00:00 2001 From: Stanislav Mishchyshyn Date: Wed, 2 Oct 2024 17:23:01 +0300 Subject: [PATCH] ci: add formatting check --- .github/workflows/ci.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c9e21769..ce73262d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,6 +11,24 @@ on: - "**" jobs: + common_checks: + name: Common checks + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: 20.8.0 + cache: 'npm' + cache-dependency-path: '**/package-lock.json' + + - name: Install dependencies + run: npm ci + + - name: Check formatting + run: npm run format:check build_ilc: name: Build ILC runs-on: ubuntu-latest