Lint before testing

This commit is contained in:
Aarni Halinen
2019-11-09 18:38:14 +02:00
parent 2fab650686
commit 08656bff99
3 changed files with 24 additions and 20 deletions
+13 -13
View File
@@ -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