From 6a93b3b83f2bebb84afa0053a07356147e851996 Mon Sep 17 00:00:00 2001 From: sebo <sebastian.bergandy@external.mgm-cp.com> Date: Thu, 27 Feb 2025 22:58:06 +0100 Subject: [PATCH] install pnpm --- .gitlab-ci.yml | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 896ecadcbe..41cd05866a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,13 @@ image: node:20.18.1 +cache: + key: + files: + - pnpm-lock.yaml + paths: + - node_modules/ + - .pnpm-store/ + stages: - lint - build @@ -8,11 +16,24 @@ stages: services: - docker:dind -alfa: - stage: lint +prepare npm: + stage: .pre script: + - npm install -g pnpm@9.15.4 + - cd alfa-client + - pnpm config set store-dir .pnpm-store - pnpm install --frozen-lockfile +alfa lint: + stage: lint + script: + - echo "done" + +alfa build: + stage: build + script: + - pnpm run ci-build + .admin: stage: lint script: -- GitLab