From 9617a253b678c52b7d03e4174ff5e7f8e20df0a0 Mon Sep 17 00:00:00 2001 From: Bartek Wrona <wrona@syncad.com> Date: Thu, 20 Mar 2025 17:42:07 +0100 Subject: [PATCH] build image uses standard base job definition specific to NPM projects --- .gitlab-ci.yml | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9083046..a5f2813 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,3 @@ -image: node:20.18.3 - stages: - build - deploy @@ -17,27 +15,12 @@ variables: GIT_STRATEGY: clone GIT_SUBMODULE_STRATEGY: recursive -cache: - key: - files: - - pnpm-lock.yaml - paths: - - node_modules/ - - .pnpm-store/ - default: tags: - public-runner-docker -.npm_based_job: - before_script: - - corepack enable - - corepack prepare pnpm@10.0.0 --activate - - pnpm config set store-dir .pnpm-store - - pnpm install --frozen-lockfile - build: - extends: .npm_based_job + extends: .npm_based_job_base stage: build script: - pnpm build -- GitLab