ci: combine lint-js and lint-scss into one job, lint

environments/review-simplify-c-5e1v77/deployments/3927
Alex Gleason 2023-09-18 18:12:15 -05:00
rodzic be565b9290
commit 0e884b0b34
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 7211D1F99744FBB7
1 zmienionych plików z 4 dodań i 10 usunięć

Wyświetl plik

@ -42,9 +42,9 @@ danger:
- $CI_DEFAULT_BRANCH == $CI_COMMIT_REF_NAME
allow_failure: true
lint-js:
lint:
stage: test
script: yarn lint:js
script: yarn lint
only:
changes:
- "**/*.js"
@ -53,16 +53,10 @@ lint-js:
- "**/*.mjs"
- "**/*.ts"
- "**/*.tsx"
- ".eslintignore"
- ".eslintrc.cjs"
lint-sass:
stage: test
script: yarn lint:sass
only:
changes:
- "**/*.scss"
- "**/*.css"
- ".eslintignore"
- ".eslintrc.cjs"
- ".stylelintrc.json"
# jest: