Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab/ci/rules.gitlab-ci.yml')
-rw-r--r--.gitlab/ci/rules.gitlab-ci.yml22
1 files changed, 12 insertions, 10 deletions
diff --git a/.gitlab/ci/rules.gitlab-ci.yml b/.gitlab/ci/rules.gitlab-ci.yml
index e8f4b9c8..e0bf04f0 100644
--- a/.gitlab/ci/rules.gitlab-ci.yml
+++ b/.gitlab/ci/rules.gitlab-ci.yml
@@ -21,7 +21,7 @@ default:
paths:
- vendor/bundle
-.bundle_and_yarn:
+.bundle_and_pnpm:
before_script:
- ruby --version
- gem --version
@@ -29,28 +29,30 @@ default:
- bundle config set --local path 'vendor/bundle' # Install dependencies into ./vendor/bundle
- bundle install
- node --version
- - yarn --version
- - yarn install --frozen-lockfile --cache-folder .yarn-cache
+ - pnpm --version
+ - pnpm config set store-dir .pnpm-store
+ - pnpm install
cache:
key:
files:
- Gemfile.lock
- - yarn.lock
+ - pnpm-lock.yaml
paths:
- vendor/bundle
- - .yarn-cache/
+ - .pnpm-store
-.yarn:
+.pnpm:
before_script:
- node --version
- - yarn --version
- - yarn install --frozen-lockfile --cache-folder .yarn-cache
+ - pnpm --version
+ - pnpm config set store-dir .pnpm-store
+ - pnpm install
cache:
key:
files:
- - yarn.lock
+ - pnpm-lock.yaml
paths:
- - .yarn-cache/
+ - .pnpm-store
#
# Retry a job automatically if it fails (2 times)