Lint before testing
This commit is contained in:
@@ -26,6 +26,11 @@
|
||||
"react",
|
||||
"@typescript-eslint"
|
||||
],
|
||||
"settings": {
|
||||
"react": {
|
||||
"version": "detect"
|
||||
}
|
||||
},
|
||||
"rules": {
|
||||
"arrow-parens": ["off", "always"],
|
||||
"comma-dangle": [
|
||||
|
||||
+13
-13
@@ -1,7 +1,7 @@
|
||||
stages:
|
||||
- setup
|
||||
- test
|
||||
- lint
|
||||
- test
|
||||
- publish
|
||||
- deploy
|
||||
|
||||
@@ -15,18 +15,6 @@ setup:
|
||||
script:
|
||||
- npm ci
|
||||
|
||||
# test:unit:
|
||||
# image: node:12
|
||||
# stage: test
|
||||
# script:
|
||||
# - npm run test:unit
|
||||
|
||||
test:e2e:
|
||||
image: circleci/node:12-browsers
|
||||
stage: test
|
||||
script:
|
||||
- npm run test:e2e
|
||||
|
||||
es:lint:
|
||||
image: node:12
|
||||
stage: lint
|
||||
@@ -39,6 +27,18 @@ sass:lint:
|
||||
script:
|
||||
- npm run lint:sass
|
||||
|
||||
# test:unit:
|
||||
# image: node:12
|
||||
# stage: test
|
||||
# script:
|
||||
# - npm run test:unit
|
||||
|
||||
test:e2e:
|
||||
image: circleci/node:12-browsers
|
||||
stage: test
|
||||
script:
|
||||
- npm run test:e2e
|
||||
|
||||
publish:
|
||||
stage: publish
|
||||
image: docker:stable
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
@import "../../assets/scss/globals";
|
||||
|
||||
.signup-create-page {
|
||||
a {
|
||||
color: color(orange1);
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
|
||||
.admin-signup-page {
|
||||
table {
|
||||
@@ -18,10 +24,3 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.signup-create-page {
|
||||
a {
|
||||
color: color(orange1);
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user