ci: add explicit typecheck step
This commit is contained in:
parent
7808d1a809
commit
1425be7d8f
1 changed files with 13 additions and 4 deletions
|
@ -6,7 +6,7 @@
|
||||||
image: node:lts
|
image: node:lts
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- test
|
- check
|
||||||
- build
|
- build
|
||||||
- prepare-release
|
- prepare-release
|
||||||
- release
|
- release
|
||||||
|
@ -17,7 +17,7 @@ cache: &global_cache
|
||||||
- .yarn/cache
|
- .yarn/cache
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
stage: test
|
stage: check
|
||||||
before_script:
|
before_script:
|
||||||
- yarn install --immutable
|
- yarn install --immutable
|
||||||
script:
|
script:
|
||||||
|
@ -25,8 +25,17 @@ lint:
|
||||||
cache:
|
cache:
|
||||||
<<: *global_cache
|
<<: *global_cache
|
||||||
|
|
||||||
|
typecheck:
|
||||||
|
stage: check
|
||||||
|
before_script:
|
||||||
|
- yarn install --immutable
|
||||||
|
script:
|
||||||
|
- yarn typecheck
|
||||||
|
cache:
|
||||||
|
<<: *global_cache
|
||||||
|
|
||||||
test:
|
test:
|
||||||
stage: test
|
stage: check
|
||||||
before_script:
|
before_script:
|
||||||
- yarn install --immutable
|
- yarn install --immutable
|
||||||
script:
|
script:
|
||||||
|
@ -40,7 +49,7 @@ test:
|
||||||
- junit.xml
|
- junit.xml
|
||||||
|
|
||||||
reuse:
|
reuse:
|
||||||
stage: test
|
stage: check
|
||||||
image:
|
image:
|
||||||
name: fsfe/reuse:latest
|
name: fsfe/reuse:latest
|
||||||
entrypoint: [""]
|
entrypoint: [""]
|
||||||
|
|
Loading…
Reference in a new issue