diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3a0d7af36..70ad34045 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -107,6 +107,8 @@ yesod:build:dev: script: - stack build --test --copy-bins --local-bin-path $(pwd)/bin --fast --flag uniworx:-library-only --flag uniworx:dev --flag uniworx:pedantic --no-strip needs: + - job: npm install # transitive + artifacts: false - job: frontend:build artifacts: true before_script: &haskell @@ -143,6 +145,8 @@ yesod:build: script: - stack build --test --copy-bins --local-bin-path $(pwd)/bin --flag uniworx:-library-only --flag uniworx:-dev --flag uniworx:pedantic --no-strip needs: + - job: npm install # transitive + artifacts: false - job: frontend:build artifacts: true before_script: *haskell @@ -170,6 +174,8 @@ yesod:build:profile: script: - stack build --profile --copy-bins --local-bin-path $(pwd)/bin --flag uniworx:-library-only --flag uniworx:-dev --flag uniworx:pedantic --no-strip needs: + - job: npm install # transitive + artifacts: false - job: frontend:build artifacts: true before_script: *haskell @@ -247,6 +253,10 @@ upload: stage: upload packages image: curlimages/curl:latest needs: + - job: npm install # transitive + artifacts: false + - job: frontend:build # transitive + artifacts: false - job: yesod:build artifacts: true - job: parse-changelog @@ -275,6 +285,12 @@ release: needs: - job: upload artifacts: false + - job: npm install # transitive + artifacts: false + - job: frontend:build # transitive + artifacts: false + - job: yesod:build # transitive + artifacts: false - job: parse-changelog artifacts: true rules: