diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 41d69ac4..5b8ffa8b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,7 +6,7 @@ image: node:lts stages: - - test + - check - build - prepare-release - release @@ -17,7 +17,7 @@ cache: &global_cache - .yarn/cache lint: - stage: test + stage: check before_script: - yarn install --immutable script: @@ -25,8 +25,17 @@ lint: cache: <<: *global_cache +typecheck: + stage: check + before_script: + - yarn install --immutable + script: + - yarn typecheck + cache: + <<: *global_cache + test: - stage: test + stage: check before_script: - yarn install --immutable script: @@ -40,7 +49,7 @@ test: - junit.xml reuse: - stage: test + stage: check image: name: fsfe/reuse:latest entrypoint: [""]