Lint script does not need to be a pre test script. (#13477)

This commit is contained in:
Nick Taylor 2021-04-22 16:02:49 -04:00 committed by GitHub
parent 0cf99fd683
commit 3483d69667
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 1 deletions

View file

@ -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

View file

@ -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",