blob: a396fc98e952bae36e6274ae0d416fcaa8bc1e8c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
image: node:latest
stages:
- install
install:
stage: install
script:
- "npm config set @<%= registry_scope %>:registry <%= gitlab_address_with_port %>/api/v4/packages/npm/"
- "npm install <%= package.name %>"
cache:
key: ${CI_BUILD_REF_NAME}
paths:
- node_modules/
artifacts:
paths:
- node_modules/
only:
- "<%= another_project.default_branch %>"
tags:
- "runner-for-<%= another_project.group.name %>"
|