Merge pull request #415 from m-tartari/chore/ci/better_build

👷 chore(CI): extend build workflow
This commit is contained in:
2025-03-20 09:47:51 +01:00
committed by GitHub
2 changed files with 10 additions and 1 deletions
+9
View File
@@ -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
+1 -1
View File
@@ -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(