From b7f1a677cb89c13d7628248d8f6fffaa77025081 Mon Sep 17 00:00:00 2001 From: m-tartari <37861893+m-tartari@users.noreply.github.com> Date: Thu, 20 Mar 2025 08:39:32 +0000 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=94=A7=20chore(eslint):=20update=20ig?= =?UTF-8?q?nored=20files=20list?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- eslint.config.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eslint.config.mjs b/eslint.config.mjs index c1ec3ca..076392a 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -17,7 +17,7 @@ const compat = new FlatCompat({ export default [ { - ignores: ['**/dist', '**/.eslintrc.cjs', 'eslint.config.mjs'], + ignores: ['coverage', '**/dist', '**/.eslintrc.cjs', 'eslint.config.mjs', 'public/mockServiceWorker.js'], }, ...fixupConfigRules( compat.extends( From c219d955986e52d49cc92fa97e5888321e2cd98d Mon Sep 17 00:00:00 2001 From: m-tartari <37861893+m-tartari@users.noreply.github.com> Date: Thu, 20 Mar 2025 08:39:47 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=91=B7=20chore(CI):=20extend=20build?= =?UTF-8?q?=20workflow?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit adds linting and production build --- .github/workflows/build.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f03c15f..0641661 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,12 +19,21 @@ jobs: node-version: 'lts/*' cache: 'npm' + - name: Install production dependencies + run: npm ci --omit=dev + + - name: Build (production) + run: npm run build:prod + - name: Install dependencies run: npm ci - name: Build run: npm run build + - name: Lint + run: npm run lint + - name: Test and generate coverage report run: npm run test:coverage