Lint before testing
This commit is contained in:
+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
|
||||
|
||||
Reference in New Issue
Block a user