Skip to content
Snippets Groups Projects
Commit 9617a253 authored by Bartek Wrona's avatar Bartek Wrona
Browse files

build image uses standard base job definition specific to NPM projects

parent fff616cd
No related branches found
No related tags found
1 merge request!1Prepared definition of application docker image
Pipeline #118439 passed
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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment