|
|
@ -1,5 +1,7 @@ |
|
|
|
stages: |
|
|
|
stages: |
|
|
|
|
|
|
|
- lint |
|
|
|
- test |
|
|
|
- test |
|
|
|
|
|
|
|
- test-browser |
|
|
|
- deploy |
|
|
|
- deploy |
|
|
|
|
|
|
|
|
|
|
|
image: node:14 |
|
|
|
image: node:14 |
|
|
@ -13,12 +15,18 @@ cache: |
|
|
|
paths: |
|
|
|
paths: |
|
|
|
- .npm/ |
|
|
|
- .npm/ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
lint: |
|
|
|
|
|
|
|
stage: lint |
|
|
|
|
|
|
|
script: npm run lint |
|
|
|
|
|
|
|
|
|
|
|
test: |
|
|
|
test: |
|
|
|
stage: test |
|
|
|
stage: test |
|
|
|
script: |
|
|
|
script: npm run test |
|
|
|
- npm run lint |
|
|
|
|
|
|
|
- npm run test |
|
|
|
test-browser: |
|
|
|
- npm run test:browser |
|
|
|
image: nexus-docker.tardis.seald.io/seald/docker-browser-testing:CHROME_88 |
|
|
|
|
|
|
|
stage: test-browser |
|
|
|
|
|
|
|
script: npm run test:browser |
|
|
|
|
|
|
|
|
|
|
|
deploy: |
|
|
|
deploy: |
|
|
|
stage: deploy |
|
|
|
stage: deploy |
|
|
|