summaryrefslogtreecommitdiff
path: root/spec/frontend/editor/schema/ci/json_tests/positive_tests/multiple-caches.json
blob: 360938e5ce7433050e05b3e775407af9296ac6b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
  "test-job": {
    "stage": "build",
    "cache": [
      {
        "key": {
          "files": ["Gemfile.lock"]
        },
        "paths": ["vendor/ruby"]
      },
      {
        "key": {
          "files": ["yarn.lock"]
        },
        "paths": [".yarn-cache/"]
      }
    ],
    "script": [
      "bundle install --path=vendor",
      "yarn install --cache-folder .yarn-cache",
      "echo Run tests..."
    ]
  }
}