Merge pull request #415 from m-tartari/chore/ci/better_build
👷 chore(CI): extend build workflow
This commit is contained in:
@@ -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
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user