Lint script does not need to be a pre test script. (#13477)
This commit is contained in:
parent
0cf99fd683
commit
3483d69667
2 changed files with 1 additions and 1 deletions
|
|
@ -84,6 +84,7 @@ jobs:
|
|||
- stage: Test
|
||||
name: "Front-end tests, Storybook, bundle audit, console check, e2e"
|
||||
script:
|
||||
- yarn lint:frontend
|
||||
- yarn test --colors
|
||||
- bundle exec rails db:create db:schema:load assets:precompile
|
||||
- bundle exec bundle-audit check --update
|
||||
|
|
|
|||
|
|
@ -21,7 +21,6 @@
|
|||
"prestorybook": "yarn run storybook-prerequisites",
|
||||
"storybook": "start-storybook -p 6006 -c app/javascript/.storybook -s app/assets,app/javascript/storybook-static",
|
||||
"lint:frontend": "eslint app/assets/javascripts/**/*.js app/javascript/**/*.jsx app/javascript/**/*.js cypress/**/*.js",
|
||||
"pretest": "yarn run lint:frontend",
|
||||
"test": "jest app/javascript/ bin/ --coverage",
|
||||
"test:watch": "jest app/javascript/ bin/ --watch",
|
||||
"postcss": "postcss public/assets/*.css -d public/assets 2> postcss_error.log",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue