From fc3ce62828c37eaf364d44fb450bfb7a40a1c3e0 Mon Sep 17 00:00:00 2001 From: "Ihsan M. A" <ihsan.saktia@gmail.com> Date: Mon, 26 Apr 2021 23:31:10 +0700 Subject: [PATCH] Add prettify stage to legacy script --- .gitlab-ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3bf5dbf4..4e67d4b6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,6 +6,7 @@ services: ## Should contain at least these three stages for a basic CI/CD stages: + - formatting - build - test - release @@ -16,6 +17,11 @@ variables: DOCKER_BUILDKIT: "1" DOCKER_TLS_CERTDIR: "" +prettify: + stage: formatting + script: + - cd backend + - npm run-script prettify build: variables: -- GitLab