Update .gitlab-ci.yml, package.json
This commit is contained in:
parent
67b48bc698
commit
21c289d072
2 changed files with 8 additions and 4 deletions
|
|
@ -63,7 +63,7 @@ eslint:
|
|||
paths:
|
||||
- node_modules/
|
||||
script:
|
||||
- npm run eslint-ci --silent > eslint-report.xml
|
||||
- npm run eslint-ci --silent 2>/dev/null 1> eslint-report.xml
|
||||
artifacts:
|
||||
when: on_failure
|
||||
expose_as: 'eslint'
|
||||
|
|
@ -85,7 +85,7 @@ stylelint:
|
|||
paths:
|
||||
- node_modules/
|
||||
script:
|
||||
- npm run stylelint-ci --silent > stylelint-report.json
|
||||
- npm run stylelint-ci --silent 2>/dev/null 1> stylelint-report.json
|
||||
artifacts:
|
||||
when: on_failure
|
||||
expose_as: 'stylelint'
|
||||
|
|
@ -115,4 +115,4 @@ front-build:
|
|||
needs:
|
||||
- phpcs
|
||||
- eslint
|
||||
- stylelint
|
||||
- stylelint
|
||||
|
|
|
|||
|
|
@ -7,7 +7,11 @@
|
|||
"watch-poll": "mix watch -- --watch-options-poll=1000",
|
||||
"hot": "mix watch --hot",
|
||||
"prod": "npm run production",
|
||||
"production": "mix --production"
|
||||
"production": "mix --production",
|
||||
"eslint": "node ./node_modules/.bin/eslint --max-warnings 0 -c .eslintrc.json ./resources",
|
||||
"eslint-ci": "node ./node_modules/.bin/eslint --max-warnings 0 -c .eslintrc.json ./resources -f junit",
|
||||
"stylelint": "node ./node_modules/.bin/stylelint --max-warnings 0 '**/*.scss'",
|
||||
"stylelint-ci": "node ./node_modules/.bin/stylelint --max-warnings 0 '**/*.scss' -f json"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@fortawesome/fontawesome-svg-core": "^6.1.2",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue